mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 20:56:35 +00:00
Fix MS01 calculation
This commit is contained in:
parent
c7323eea74
commit
36bf6c5cc1
@ -167,7 +167,7 @@ bool DhtRead(uint32_t sensor) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case GPIO_MS01: { // Sonoff MS01
|
case GPIO_MS01: { // Sonoff MS01
|
||||||
uint32_t voltage = ((dht_data[0] << 8) | dht_data[1]);
|
int32_t voltage = ((dht_data[0] << 8) | dht_data[1]);
|
||||||
|
|
||||||
// AddLog(LOG_LEVEL_DEBUG_MORE, PSTR("DHT: MS01 %d"), voltage);
|
// AddLog(LOG_LEVEL_DEBUG_MORE, PSTR("DHT: MS01 %d"), voltage);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user