mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 19:42:08 +02:00
🐛 daly bms: fix min temperature decoding
This commit is contained in:
parent
27d2333ad7
commit
2ead3cc508
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ void decode_packet(uint8_t command, uint8_t data[8]) {
|
|||
break;
|
||||
case 0x92:
|
||||
temperature_max_dC = (data[0] - 40) * 10;
|
||||
temperature_min_dC = (data[1] - 40) * 10;
|
||||
temperature_min_dC = (data[2] - 40) * 10;
|
||||
break;
|
||||
case 0x93:
|
||||
remaining_capacity_mAh = decode_uint32be(data, 4);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue