diff options
| author | Joel Challis | 2025-11-08 21:49:15 +0100 |
|---|---|---|
| committer | GitHub | 2025-11-08 21:49:15 +0100 |
| commit | 00eebfb575d6ea0660755cee2c6ccf3b21110312 (patch) | |
| tree | 45369d486e078724f80bae46d97da3b1c03c56ff /platforms/progmem.h | |
| parent | 22b213e1915a49cc8419fe0d449ca26fb372b43c (diff) | |
Fix pmw33xx sensor initialisation (#25777)
Diffstat (limited to 'platforms/progmem.h')
| -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 @@ # define PROGMEM # define PSTR(x) x # define PGM_P const char* +# define memcmp_P(s1, s2, n) memcmp(s1, s2, n) # define memcpy_P(dest, src, n) memcpy(dest, src, n) # define pgm_read_byte(address_short) *((uint8_t*)(address_short)) # define pgm_read_word(address_short) *((uint16_t*)(address_short)) |