mirror of
https://github.com/esphome/esphome.git
synced 2026-10-14 10:12:52 +00:00
Make the table static constexpr
This commit is contained in:
@@ -20,7 +20,7 @@ static const uint8_t BL0939_REG_SOFT_RESET = 0x19;
|
||||
static const uint8_t BL0939_REG_USR_WRPROT = 0x1A;
|
||||
static const uint8_t BL0939_REG_TPS_CTRL = 0x1B;
|
||||
|
||||
static const uint8_t BL0939_INIT[6][6] PROGMEM = {
|
||||
static constexpr uint8_t BL0939_INIT[6][6] PROGMEM = {
|
||||
// Reset to default
|
||||
{BL0939_WRITE_COMMAND, BL0939_REG_SOFT_RESET, 0x5A, 0x5A, 0x5A, 0x33},
|
||||
// Enable User Operation Write
|
||||
|
||||
Reference in New Issue
Block a user