mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
SubGHz: Fix Acurite 986 temperature value conversion
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
- API: Publishing T5577 page 1 block count macro (by @zinongli)
|
||||
|
||||
### Fixed:
|
||||
- Sub-GHz: Fix Acurite 986 temperature value conversion (by @Willy-JL)
|
||||
- Desktop:
|
||||
- Fix disabling keybinds (by @Willy-JL)
|
||||
- Sanity check PIN length for good measure (by @Willy-JL)
|
||||
|
||||
@@ -136,7 +136,7 @@ static void ws_protocol_acurite_986_remote_controller(WSBlockGeneric* instance)
|
||||
if(temp & 0x80) {
|
||||
temp = -(temp & 0x7F);
|
||||
}
|
||||
instance->temp = (float)temp;
|
||||
instance->temp = locale_fahrenheit_to_celsius((float)temp);
|
||||
instance->btn = WS_NO_BTN;
|
||||
instance->humidity = WS_NO_HUMIDITY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user