mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-21 17:56:31 +00:00
Fix compilation
This commit is contained in:
parent
e8d5e442bf
commit
8cb9345a97
@ -844,9 +844,7 @@ void DevicesPresentNonDisplayOrLight(uint32_t &devices_claimed) {
|
||||
display_and_lights += LightDevices(); // Skip light(s)
|
||||
#endif // USE_LIGHT
|
||||
#ifdef USE_DISPLAY
|
||||
if (disp_device) {
|
||||
display_and_lights++; // Skip display
|
||||
}
|
||||
display_and_lights += DisplayDevices(); // Skip display
|
||||
#endif // USE_DISPLAY
|
||||
uint32_t devices_present = TasmotaGlobal.devices_present - display_and_lights;
|
||||
if (devices_claimed > devices_present) {
|
||||
|
@ -269,6 +269,12 @@ bool disp_subscribed = false;
|
||||
|
||||
/*********************************************************************************************/
|
||||
|
||||
uint32_t DisplayDevices(void) {
|
||||
return (disp_device);
|
||||
}
|
||||
|
||||
/*********************************************************************************************/
|
||||
|
||||
void DisplayClear(void) {
|
||||
if (renderer) {
|
||||
renderer->fillScreen(bg_color);
|
||||
|
Loading…
x
Reference in New Issue
Block a user