Uncrustified weather meter driver and example
This commit is contained in:
parent
81bec49a40
commit
366f11d5df
|
@ -305,7 +305,6 @@ weather_meter_interrupt_handler(uint8_t port, uint8_t pin)
|
|||
if((port == ANEMOMETER_SENSOR_PORT) && (pin == ANEMOMETER_SENSOR_PIN)) {
|
||||
weather_sensors.anemometer.ticks++;
|
||||
process_post(&weather_meter_int_process, anemometer_int_event, NULL);
|
||||
|
||||
} else if((port == RAIN_GAUGE_SENSOR_PORT) && (pin == RAIN_GAUGE_SENSOR_PIN)) {
|
||||
weather_sensors.rain_gauge.ticks++;
|
||||
aux = weather_sensors.rain_gauge.ticks * WEATHER_METER_AUX_RAIN_MM;
|
||||
|
|
Loading…
Reference in a new issue