mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-15 01:07:22 +00:00
WS: add bat status
This commit is contained in:
parent
8a785993ed
commit
7aa6716892
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue