mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-09 23:28:12 +00:00
Fix STM32 issue and OrangeTX compilation
This commit is contained in:
parent
2b80d1a6d8
commit
bdfeeb9a41
@ -34,7 +34,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
//Personal config file
|
//Personal config file
|
||||||
#if defined USE_MY_CONFIG || __has_include("_MyConfig.h")
|
#if defined USE_MY_CONFIG
|
||||||
#include "_MyConfig.h"
|
#include "_MyConfig.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -207,6 +207,7 @@ void setup()
|
|||||||
TCC1.CTRLA = 0x0B ; // Event3 (prescale of 16)
|
TCC1.CTRLA = 0x0B ; // Event3 (prescale of 16)
|
||||||
#elif defined STM32_BOARD
|
#elif defined STM32_BOARD
|
||||||
//STM32
|
//STM32
|
||||||
|
afio_cfg_debug_ports(AFIO_DEBUG_NONE);
|
||||||
pinMode(A7105_CSN_pin,OUTPUT);
|
pinMode(A7105_CSN_pin,OUTPUT);
|
||||||
pinMode(CC25_CSN_pin,OUTPUT);
|
pinMode(CC25_CSN_pin,OUTPUT);
|
||||||
pinMode(NRF_CSN_pin,OUTPUT);
|
pinMode(NRF_CSN_pin,OUTPUT);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user