diff --git a/src/helpers/ui/companion-orig/UITask.h b/src/helpers/ui/companion-orig/UITask.h index 1dc6ccb72b9..25c8c2b41b6 100644 --- a/src/helpers/ui/companion-orig/UITask.h +++ b/src/helpers/ui/companion-orig/UITask.h @@ -6,6 +6,10 @@ #include #include +#ifndef LED_STATE_ON // same default as companion-new/UITask.h; used by the status LED + #define LED_STATE_ON 1 +#endif + #ifdef PIN_BUZZER #include #endif diff --git a/variants/xiao_s3_wio/platformio.ini b/variants/xiao_s3_wio/platformio.ini index 8c30a714f56..ba9f3f9f90e 100644 --- a/variants/xiao_s3_wio/platformio.ini +++ b/variants/xiao_s3_wio/platformio.ini @@ -227,6 +227,10 @@ lib_deps = ${Xiao_S3_WIO.lib_deps} densaugeo/base64 @ ~1.4.0 0neblock/SNMP_Agent @ 2.1.0 + ; target.h includes SSD1306Display.h for any DISPLAY_CLASS (this env uses + ; NullDisplayDriver). Since the upstream UI move the library finder no longer + ; picks up Adafruit GFX on its own here, so name it (SSD1306 pulls GFX in). + adafruit/Adafruit SSD1306 @ ^2.5.13 [env:Xiao_S3_WIO_sensor] extends = Xiao_S3_WIO diff --git a/variants/xiao_s3_wio/target.h b/variants/xiao_s3_wio/target.h index a5839534e4b..8a1b959aeab 100644 --- a/variants/xiao_s3_wio/target.h +++ b/variants/xiao_s3_wio/target.h @@ -9,6 +9,7 @@ #include #ifdef DISPLAY_CLASS #include + #include // companion_radio_wifi builds use NullDisplayDriver #include #include #endif