From 741421a244fa155f3e54f0c9333446faa714a0b6 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 13 Oct 2026 18:41:20 -1000 Subject: [PATCH] Note why the page-size tables are read directly --- esphome/components/shelly_dimmer/dev_table.h | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/shelly_dimmer/dev_table.h b/esphome/components/shelly_dimmer/dev_table.h index 9f15c8b434f..96bb5ea1a68 100644 --- a/esphome/components/shelly_dimmer/dev_table.h +++ b/esphome/components/shelly_dimmer/dev_table.h @@ -39,6 +39,7 @@ constexpr uint32_t SZ_256K = 0x00040000; /* * Page-size for page-by-page flash erase. * Arrays are zero terminated; last non-zero value is automatically repeated + * In PROGMEM and read by direct indexing: each entry is an aligned 32-bit load, which is safe from flash on ESP8266 */ /* fixed size pages */