Another missing ;

parent a34d4d42
...@@ -42,7 +42,7 @@ void flow_init() { ...@@ -42,7 +42,7 @@ void flow_init() {
void flowrate_manage() { void flowrate_manage() {
millis_t now; millis_t now;
now = millis() now = millis();
if(ELAPSED(now, flowmeter_timer)) { if(ELAPSED(now, flowmeter_timer)) {
detachInterrupt(digitalPinToInterrupt(FLOWMETER_PIN)); detachInterrupt(digitalPinToInterrupt(FLOWMETER_PIN));
flowrate = ((1000.0 / (now - flowmeter_timer)) * flowrate_pulsecount) / FLOWMETER_CALIBRATION; flowrate = ((1000.0 / (now - flowmeter_timer)) * flowrate_pulsecount) / FLOWMETER_CALIBRATION;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment