You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Compiling .pioenvs/p-kz-ble-sleeplight/bootloader_support/bootloader_flash/src/bootloader_flash_config_esp32.c.o
In file included from src/esphome/components/xiaomi_bslamp2/binary_sensor/touch_binary_sensor.h:4,
from src/esphome.h:110,
from src/main.cpp:3:
src/esphome/components/xiaomi_bslamp2/binary_sensor/../front_panel_hal.h: In static member function 'static void esphome::xiaomi::bslamp2::FrontPanelTriggerStore::gpio_intr(esphome::xiaomi::bslamp2::FrontPanelTriggerStore*)':
src/esphome/components/xiaomi_bslamp2/binary_sensor/../front_panel_hal.h:197:10: warning: '++' expression of 'volatile'-qualified type is deprecated [-Wvolatile]
197 | store->event_id++;
| ~~~~~~~^~~~~~~~
To Reproduce
Steps to reproduce the behavior:
Compile with
Interesting. The firmware compiles and works, since this is just a deprecation warning at this point, right?
I will update the code to fix this warning.
Describe the bug
Compiling .pioenvs/p-kz-ble-sleeplight/bootloader_support/bootloader_flash/src/bootloader_flash_config_esp32.c.o
In file included from src/esphome/components/xiaomi_bslamp2/binary_sensor/touch_binary_sensor.h:4,
from src/esphome.h:110,
from src/main.cpp:3:
src/esphome/components/xiaomi_bslamp2/binary_sensor/../front_panel_hal.h: In static member function 'static void esphome::xiaomi::bslamp2::FrontPanelTriggerStore::gpio_intr(esphome::xiaomi::bslamp2::FrontPanelTriggerStore*)':
src/esphome/components/xiaomi_bslamp2/binary_sensor/../front_panel_hal.h:197:10: warning: '++' expression of 'volatile'-qualified type is deprecated [-Wvolatile]
197 | store->event_id++;
| ~~~~~~~^~~~~~~~
To Reproduce
Steps to reproduce the behavior:
Compile with
The text was updated successfully, but these errors were encountered: