Clean up build warnings (#4169)

* [build][OSX] Fix clang warnings.

* [build][OSX] A few more warnings taken care of.

* [build] Fixed yet more build warnings across all platforms.

* [build] Fix final warning due to bad CMake flag.

* [build] Remove unused variables as requested, fix indent.

* Fix output display limit type for 8-bit targets.
This commit is contained in:
Max Paperno
2016-12-30 18:16:11 +01:00
committed by Bertrand Songis
parent 1666fd7355
commit 1eead1504c
22 changed files with 39 additions and 40 deletions
+2 -2
View File
@@ -98,7 +98,7 @@ extern "C" void INTERRUPT_5MS_IRQHandler()
}
#endif
#if defined(PCBX9E)
#if defined(PCBX9E) && !defined(SIMU)
#define PWR_PRESS_DURATION_MIN 200 // 2s
#define PWR_PRESS_DURATION_MAX 500 // 5s
@@ -109,7 +109,7 @@ const pm_uchar bmp_startup[] PROGMEM = {
const pm_uchar bmp_lock[] PROGMEM = {
#include "lock.lbm"
};
#endif
#endif // defined(PCBX9E) && !defined(SIMU)
void boardInit()
{