Minh Nguyen / Anemometer

Files at this revision

API Documentation at this revision

Comitter:
khaiminhvn
Date:
Wed Mar 17 14:19:08 2021 +0000
Parent:
4:5a2e51b243e0
Commit message:
Minor change

Changed in this revision

Anemometer.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Anemometer.cpp	Fri Mar 12 03:18:50 2021 +0000
+++ b/Anemometer.cpp	Wed Mar 17 14:19:08 2021 +0000
@@ -35,6 +35,6 @@
 {
     if(Anemometer::getWind() >= wthres)
         *mode = OP_WIND;
-    else if(Anemometer::getWind() < wthres - WIND_HIST)
+    else if(Anemometer::getWind() < wthres - WIND_HYST)
         *mode = OP_NORMAL;
 }
\ No newline at end of file