mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
refactor tm1621
This commit is contained in:
parent
9c06a3713e
commit
3a1bbda4a5
@ -242,9 +242,8 @@ float TM1621GetTemperatureValues(uint32_t index) {
|
||||
if (data) {
|
||||
idx++;
|
||||
data += 13; // strlen("Temperature") + 2;
|
||||
float new_value = CharToFloat(data);
|
||||
if (idx == index) {
|
||||
value = new_value;
|
||||
value = CharToFloat(data);
|
||||
if (Tm1621.temp_sensors) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user