Issue 121 fixed

This commit is contained in:
bsongis
2012-09-04 14:51:32 +00:00
parent 7a6e800c8a
commit e42fb6da31
4 changed files with 10 additions and 5 deletions
+3
View File
@@ -835,6 +835,9 @@ inline int16_t calc100toRESX(int8_t x)
extern int16_t calc1000toRESX(int16_t x);
#endif
// *1000/1024 = x - x/32 + x/128
#define GPERC(x) (x - x/32 + x/128)
#if defined(PCBARM)
// This doesn't need protection on this processor
#define tmr10ms_t uint32_t