From 8b2405748df6b7c6178b50564f64bc4e5140776e Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 13 Oct 2026 11:10:53 -1000 Subject: [PATCH] Make the table static constexpr --- esphome/components/bl0939/bl0939.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/bl0939/bl0939.cpp b/esphome/components/bl0939/bl0939.cpp index 54cd86003e6..a1416881ccb 100644 --- a/esphome/components/bl0939/bl0939.cpp +++ b/esphome/components/bl0939/bl0939.cpp @@ -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