mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-03-14 04:10:18 +00:00
Disable SBUS serial when switching to CPPM
This commit is contained in:
parent
f8f7769d9c
commit
ec83f1e5a3
@ -2300,6 +2300,13 @@ static void __attribute__((unused)) crc8_update(uint8_t byte)
|
||||
{
|
||||
if ( CppmInitialised == false )
|
||||
init_trainer_ppm() ;
|
||||
#ifdef SEND_SBUS_SERIAL
|
||||
if( SbusInitialised == true )
|
||||
{
|
||||
usart_disable(USART1);
|
||||
SbusInitialised = false;
|
||||
}
|
||||
#endif
|
||||
TrainerTimer = millis() ;
|
||||
len = packet_in[3] ;
|
||||
uint32_t bitsavailable = 0 ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user