New automatic tests added for the LCD

This commit is contained in:
bsongis
2014-06-30 15:55:19 +02:00
parent f643f0be85
commit 4b64862cf2
13 changed files with 102 additions and 20 deletions
+3 -1
View File
@@ -280,7 +280,7 @@
#include "debug.h"
#if defined(SIMU)
#include "simpgmspace.h"
#include "targets/simu/simpgmspace.h"
#elif defined(CPUARM)
typedef const unsigned char pm_uchar;
typedef const char pm_char;
@@ -981,7 +981,9 @@ template<class t> FORCEINLINE t min(t a, t b) { return a<b?a:b; }
template<class t> FORCEINLINE t max(t a, t b) { return a>b?a:b; }
template<class t> FORCEINLINE t sgn(t a) { return a>0 ? 1 : (a < 0 ? -1 : 0); }
template<class t> FORCEINLINE t limit(t mi, t x, t ma) { return min(max(mi,x),ma); }
#if !defined(SWAP_DEFINED)
template<class t> void swap(t & a, t & b) { t tmp = b; b = a; a = tmp; }
#endif
#if defined(HELI) || defined(FRSKY_HUB)
uint16_t isqrt32(uint32_t n);