From 85d4511dbb7b19ad32951b76fb522f5ecd337f8d Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 13 Oct 2026 10:16:22 -1000 Subject: [PATCH] Drop the redundant static inside the anonymous namespace --- esphome/components/shelly_dimmer/stm32flash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/shelly_dimmer/stm32flash.cpp b/esphome/components/shelly_dimmer/stm32flash.cpp index 7e76aac60c7..0dab7b75f9c 100644 --- a/esphome/components/shelly_dimmer/stm32flash.cpp +++ b/esphome/components/shelly_dimmer/stm32flash.cpp @@ -116,7 +116,7 @@ namespace esphome::shelly_dimmer { namespace { -static uint32_t read_page_size(const uint32_t *psize) { +uint32_t read_page_size(const uint32_t *psize) { uint32_t size; progmem_memcpy(&size, psize, sizeof(size)); return size;