mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 20:56:35 +00:00
Fix windmeter interrupt service routine
Fix windmeter interrupt service routine (#8614)
This commit is contained in:
parent
41f77f688c
commit
dac14073c9
@ -83,7 +83,7 @@ void WindMeterUpdateSpeed(void)
|
|||||||
if (time_diff > Settings.windmeter_pulse_debounce * 1000) {
|
if (time_diff > Settings.windmeter_pulse_debounce * 1000) {
|
||||||
WindMeter.counter_time = time;
|
WindMeter.counter_time = time;
|
||||||
WindMeter.counter++;
|
WindMeter.counter++;
|
||||||
AddLog_P2(LOG_LEVEL_DEBUG, PSTR("WMET: Counter %d"), WindMeter.counter);
|
// AddLog_P2(LOG_LEVEL_DEBUG, PSTR("WMET: Counter %d"), WindMeter.counter);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user