From 021867784e86c33bbb57dec5a1d74641083c4c3d Mon Sep 17 00:00:00 2001 From: Piotr Date: Fri, 2 Jan 2015 11:09:32 +0100 Subject: [PATCH] Fix stupid errors from the last pull request --- .../MySensors/examples/PressureSensor/PressureSensor.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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];