Fixed some compilation issues

This commit is contained in:
Raphael Coeffic
2022-03-20 16:22:12 +01:00
parent 5fb369f052
commit e5c852ab37
17 changed files with 62 additions and 39 deletions
-8
View File
@@ -582,14 +582,6 @@ void flightReset(uint8_t check=true);
#define RESET_THR_TRACE() s_timeCum16ThrP = s_timeCumThr = 0
#endif
#if defined(SIMU)
uint16_t getTmr2MHz();
uint16_t getTmr16KHz();
#else
static inline uint16_t getTmr2MHz() { return TIMER_2MHz_TIMER->CNT; }
#endif
#if defined(SPLASH)
void doSplash();
#endif