Minor cleanups
This commit is contained in:
parent
ce8502c7e2
commit
f8842c9935
|
@ -55,7 +55,8 @@ uint16_t freeRam()
|
|||
if(__brkval == 0) { currentVal = (int) &__heap_start; }
|
||||
else { currentVal = (int) __brkval; }
|
||||
|
||||
//return (uint16_t) &v - (__brkval == 0 ? (int) &__heap_start : (int) __brkval); // cppcheck-suppress misra-c2012-12.1
|
||||
//Old version:
|
||||
//return (uint16_t) &v - (__brkval == 0 ? (int) &__heap_start : (int) __brkval);
|
||||
return (uint16_t) &v - currentVal; //cppcheck-suppress misra-c2012-11.4
|
||||
}
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "decoders.h"
|
||||
#include "corrections.h"
|
||||
#include "idle.h"
|
||||
#include "table.h"
|
||||
#include BOARD_H //Note that this is not a real file, it is defined in globals.h.
|
||||
|
||||
void initialiseAll()
|
||||
|
|
|
@ -51,7 +51,7 @@ struct table3D {
|
|||
};
|
||||
|
||||
//void table3D_setSize(struct table3D *targetTable, byte);
|
||||
void table3D_setSize(table3D, byte);
|
||||
void table3D_setSize(struct table3D *targetTable, byte);
|
||||
|
||||
/*
|
||||
3D Tables have an origin (0,0) in the top left hand corner. Vertical axis is expressed first.
|
||||
|
|
Loading…
Reference in New Issue