This commit is contained in:
Raphael Coeffic
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent f6565c6826
commit 068ba79f26
5 changed files with 13 additions and 10 deletions
@@ -25,7 +25,7 @@
uint16_t getTmr2MHz();
#elif defined(STM32)
#else
#include "board.h"
@@ -38,3 +38,12 @@ static inline uint16_t getTmr2MHz() { return TIMER_2MHz_TIMER->CNT; }
void watchdogSuspend(uint32_t timeout);
#endif
#include "opentx_types.h"
extern volatile tmr10ms_t g_tmr10ms;
static inline tmr10ms_t get_tmr10ms()
{
return g_tmr10ms;
}