From b8b1e0ca5fffad21b5d4316734168c93d34648e5 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Tue, 19 Oct 2021 21:13:52 +0200 Subject: [PATCH] Berry sleep global --- tasmota/xdrv_52_3_berry_tasmota_global.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasmota/xdrv_52_3_berry_tasmota_global.ino b/tasmota/xdrv_52_3_berry_tasmota_global.ino index 33ba0bf32..052a4ee7a 100644 --- a/tasmota/xdrv_52_3_berry_tasmota_global.ino +++ b/tasmota/xdrv_52_3_berry_tasmota_global.ino @@ -36,8 +36,7 @@ extern "C" { 2, /* number of elements */ nullptr, (const be_ctypes_structure_item_t[2]) { - { "energy_driver", offsetof(TasmotaGlobal_t, energy_driver), 0, 0, ctypes_u8, 0 }, - { "uptime", offsetof(TasmotaGlobal_t, uptime), 0, 0, ctypes_u32, 0 }, + { "sleep", offsetof(TasmotaGlobal_t, sleep), 0, 0, ctypes_u8, 0 }, }}; }