Cleanup of a few compiler warnings
This commit is contained in:
parent
241314e42d
commit
db469b17d8
|
@ -30,12 +30,12 @@ void clearError(byte errorID)
|
|||
else if(errorID == errorCodes[3]) { clearedError = 3; }
|
||||
else return; //Occurs when the error we're being asked to clear is not currently one of the active errors
|
||||
|
||||
errorCodes[clearedError] == ERR_NONE;
|
||||
errorCodes[clearedError] = ERR_NONE;
|
||||
//Clear the required error and move any from above it 'down' in the error array
|
||||
for (byte x=clearedError; x < (errorCount-1); x++)
|
||||
{
|
||||
errorCodes[x] == errorCodes[x+1];
|
||||
errorCodes[x+1] == ERR_NONE;
|
||||
errorCodes[x] = errorCodes[x+1];
|
||||
errorCodes[x+1] = ERR_NONE;
|
||||
}
|
||||
|
||||
errorCount--;
|
||||
|
|
|
@ -4,7 +4,7 @@ Copyright (C) Josh Stewart
|
|||
A full copy of the license may be found in the projects root directory
|
||||
*/
|
||||
|
||||
int tempReading;
|
||||
unsigned int tempReading;
|
||||
|
||||
void instanteneousMAPReading()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue