diff options
| author | Joel Challis <git@zvecr.com> | 2021-11-24 07:38:49 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-24 18:38:49 +1100 |
| commit | 282e916d86a5d353b7cbdfef3afad3c7b011eb14 (patch) | |
| tree | d711831ca1accadede43c38bc1bcd91d73ad3dc9 /platforms | |
| parent | 80f91f7b9aa8987d4594a466d2348830b1c32dc2 (diff) | |
| download | qmk_firmware-282e916d86a5d353b7cbdfef3afad3c7b011eb14.tar.gz qmk_firmware-282e916d86a5d353b7cbdfef3afad3c7b011eb14.zip | |
Remove use of __flash due to LTO issues (#15268)
Diffstat (limited to 'platforms')
| -rw-r--r-- | platforms/progmem.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/platforms/progmem.h b/platforms/progmem.h index a70d8e299..3a7a16968 100644 --- a/platforms/progmem.h +++ b/platforms/progmem.h | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | #else | 5 | #else |
| 6 | # include <string.h> | 6 | # include <string.h> |
| 7 | # define PROGMEM | 7 | # define PROGMEM |
| 8 | # define __flash | ||
| 9 | # define PSTR(x) x | 8 | # define PSTR(x) x |
| 10 | # define PGM_P const char* | 9 | # define PGM_P const char* |
| 11 | # define memcpy_P(dest, src, n) memcpy(dest, src, n) | 10 | # define memcpy_P(dest, src, n) memcpy(dest, src, n) |
