8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4178e5 commit 5704bf2Copy full SHA for 5704bf2
tests/host/sys/pgmspace.h
@@ -30,7 +30,7 @@
30
#define pgm_read_byte(addr) (*reinterpret_cast<const uint8_t*>(addr))
31
#define pgm_read_word(addr) (*reinterpret_cast<const uint16_t*>(addr))
32
#define pgm_read_dword(addr) (*reinterpret_cast<const uint32_t*>(addr))
33
- #define 5534 span> pgm_read_float(addr) (*reinterpret_cast<const float>(addr))
+ #define pgm_read_float(addr) (*reinterpret_cast<const float*>(addr))
34
#define pgm_read_ptr(addr) (*reinterpret_cast<const void* const *>(addr))
35
#else
36
#define pgm_read_byte(addr) (*(const uint8_t*)(addr))
0 commit comments