From 7aa671689209e434daac403e6d8528f59f9466ac Mon Sep 17 00:00:00 2001 From: SkorP Date: Sat, 22 Apr 2023 21:57:31 +0400 Subject: [PATCH] WS: add bat status --- applications/external/weather_station/protocols/wendox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/external/weather_station/protocols/wendox.c b/applications/external/weather_station/protocols/wendox.c index fec1a8bf1..94e09f795 100644 --- a/applications/external/weather_station/protocols/wendox.c +++ b/applications/external/weather_station/protocols/wendox.c @@ -101,7 +101,7 @@ void ws_protocol_decoder_wendox_reset(void* context) { */ static void ws_protocol_wendox_remote_controller(WSBlockGeneric* instance) { instance->id = (instance->data >> 4) & 0xFF; - instance->battery_low = WS_NO_BATT; + instance->battery_low = (instance->data >> 5) & 1; instance->channel = WS_NO_CHANNEL; if(((instance->data >> 22) & 1)) {