diff options
| author | QMK Bot <hello@qmk.fm> | 2025-11-08 20:49:51 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2025-11-08 20:49:51 +0000 |
| commit | fb6d7762b98348ce365050568751776845772a1a (patch) | |
| tree | b93c30bb4b3eb8b83cc981f300c4722e0672fe3e /platforms | |
| parent | 6e35013bc2e30af022cdb8c176e869c5c94ee17a (diff) | |
| parent | 00eebfb575d6ea0660755cee2c6ccf3b21110312 (diff) | |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'platforms')
| -rw-r--r-- | platforms/progmem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platforms/progmem.h b/platforms/progmem.h index 3a7a169682..6c4ebcaa01 100644 --- a/platforms/progmem.h +++ b/platforms/progmem.h | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | # define PROGMEM | 7 | # define PROGMEM |
| 8 | # define PSTR(x) x | 8 | # define PSTR(x) x |
| 9 | # define PGM_P const char* | 9 | # define PGM_P const char* |
| 10 | # define memcmp_P(s1, s2, n) memcmp(s1, s2, n) | ||
| 10 | # define memcpy_P(dest, src, n) memcpy(dest, src, n) | 11 | # define memcpy_P(dest, src, n) memcpy(dest, src, n) |
| 11 | # define pgm_read_byte(address_short) *((uint8_t*)(address_short)) | 12 | # define pgm_read_byte(address_short) *((uint8_t*)(address_short)) |
| 12 | # define pgm_read_word(address_short) *((uint16_t*)(address_short)) | 13 | # define pgm_read_word(address_short) *((uint16_t*)(address_short)) |
