Re #3371: tx battery measuring code moved to board_xxx.cpp, battery check code rewritten for ARM platforms, Horus battery calibrated.

This commit is contained in:
Damjan Adamic
2016-03-20 16:05:27 +01:00
parent 49e70dbf12
commit a3af63edad
8 changed files with 95 additions and 15 deletions
+3
View File
@@ -2153,6 +2153,7 @@ uint8_t getSticksNavigationEvent()
}
#endif
#if !defined(CPUARM)
void checkBattery()
{
static uint8_t counter = 0;
@@ -2222,6 +2223,8 @@ void checkBattery()
}
}
}
#endif // #if !defined(CPUARM)
#if !defined(SIMU) && !defined(CPUARM)