diff --git a/libraries/MySensors/examples/PressureSensor/PressureSensor.ino b/libraries/MySensors/examples/PressureSensor/PressureSensor.ino index 19e7b98..c5743e6 100644 --- a/libraries/MySensors/examples/PressureSensor/PressureSensor.ino +++ b/libraries/MySensors/examples/PressureSensor/PressureSensor.ino @@ -14,9 +14,9 @@ MySensor gw; float lastPressure = -1; float lastTemp = -1; int lastForecast = -1; -static char *weather[] = {"stable","sunny","cloudy","unstable","thunderstorm","unknown"}; +const char *weather[] = {"stable","sunny","cloudy","unstable","thunderstorm","unknown"}; int minutes; -float pressureSamples[6][5]; +float pressureSamples[7][6]; int minuteCount = 0; bool firstRound = true; float pressureAvg[7];