Commit cb2b3de
authored
Fixing output for windspeedmph
Adding line of code at 178:
windspeedmph = currentSpeed;//update global variable for windspeed when using the printWeather() function
and added comment to line 227 to explain why the calculation was commented out:
//windspeedmph = get_wind_speed(); //This is calculated in the main loop on line 179
to fix this issue => #241 parent d09a0d8 commit cb2b3de
File tree
1 file changed
+2
-1
lines changed- firmware/Weather_Shield_Weather_Station
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
| |||
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
226 | | - | |
| 227 | + | |
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
| |||
0 commit comments