Fix STM32 issue and OrangeTX compilation

This commit is contained in:
pascallanger 2017-04-10 11:24:21 +02:00
parent 2b80d1a6d8
commit bdfeeb9a41

View File

@ -34,7 +34,7 @@
#endif
//Personal config file
#if defined USE_MY_CONFIG || __has_include("_MyConfig.h")
#if defined USE_MY_CONFIG
#include "_MyConfig.h"
#endif
@ -207,6 +207,7 @@ void setup()
TCC1.CTRLA = 0x0B ; // Event3 (prescale of 16)
#elif defined STM32_BOARD
//STM32
afio_cfg_debug_ports(AFIO_DEBUG_NONE);
pinMode(A7105_CSN_pin,OUTPUT);
pinMode(CC25_CSN_pin,OUTPUT);
pinMode(NRF_CSN_pin,OUTPUT);