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;