[core] Use constexpr for hand-written PROGMEM arrays in C++ (#14129)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
94712b3961
commit
c1265a9490
14 files changed
+35
-35
No files matched your search
@@ -27,7 +27,7 @@ const uint8_t TM1637_DATA_FIXED_ADDR = 0x04; //!< Fixed address
|
||||
// ---
|
||||
// D X
|
||||
// XABCDEFG
|
||||
const uint8_t TM1637_ASCII_TO_RAW[] PROGMEM = {
|
||||
constexpr uint8_t TM1637_ASCII_TO_RAW[] PROGMEM = {
|
||||
0b00000000, // ' ', ord 0x20
|
||||
0b10110000, // '!', ord 0x21
|
||||
0b00100010, // '"', ord 0x22
|
||||
|
||||
Reference in new issue
Block a user