Merge pull request #40 from portals12/PressureSensor-example-fix
Fix stupid errors from the last pull request
This commit is contained in:
@@ -14,9 +14,9 @@ MySensor gw;
|
|||||||
float lastPressure = -1;
|
float lastPressure = -1;
|
||||||
float lastTemp = -1;
|
float lastTemp = -1;
|
||||||
int lastForecast = -1;
|
int lastForecast = -1;
|
||||||
static char *weather[] = {"stable","sunny","cloudy","unstable","thunderstorm","unknown"};
|
const char *weather[] = {"stable","sunny","cloudy","unstable","thunderstorm","unknown"};
|
||||||
int minutes;
|
int minutes;
|
||||||
float pressureSamples[6][5];
|
float pressureSamples[7][6];
|
||||||
int minuteCount = 0;
|
int minuteCount = 0;
|
||||||
bool firstRound = true;
|
bool firstRound = true;
|
||||||
float pressureAvg[7];
|
float pressureAvg[7];
|
||||||
|
|||||||
Reference in New Issue
Block a user