Taranis X9E Simulator - with rotary encoder

This commit is contained in:
bsongis
2014-12-01 22:08:19 +01:00
parent de43ce71df
commit fa963041ef
29 changed files with 465 additions and 50 deletions
+5 -1
View File
@@ -36,11 +36,15 @@
#include "../../opentx.h"
#if defined(__cplusplus) && !defined(SIMU)
extern "C" {
#endif
#include "STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_dcd_int.h"
#include "STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_bsp.h"
#include "STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dbgmcu.h"
#if defined(__cplusplus) && !defined(SIMU)
}
#endif
volatile uint32_t Tenms ; // TODO to remove everywhere / use a #define
@@ -111,13 +115,13 @@ void interrupt5ms()
#endif
}
#if !defined(SIMU)
extern "C" void TIM8_TRG_COM_TIM14_IRQHandler()
{
TIM14->SR &= ~TIM_SR_UIF ;
interrupt5ms() ;
}
#if !defined(SIMU)
void boardInit()
{
pwrInit();