PPM Telemetry: added serial speeds

Only supported for none invert telemetry:
FrSkyD (Incl Hubsan): 9600bps
FrSkyX: 57600bps
DSM: 125000bps
This commit is contained in:
pascallanger
2016-09-16 10:39:44 +02:00
parent b1c38cc793
commit 99e8be227e
3 changed files with 63 additions and 21 deletions

View File

@@ -855,7 +855,12 @@ void Mprotocol_serial_init()
#if defined(TELEMETRY)
void PPM_Telemetry_serial_init()
{
initTXSerial( SPEED_9600 ) ;
if( (protocol==MODE_FRSKYD) || (protocol==MODE_HUBSAN))
initTXSerial( SPEED_9600 ) ;
if(protocol==MODE_FRSKYX)
initTXSerial( SPEED_57600 ) ;
if(protocol==MODE_DSM)
initTXSerial( SPEED_125K ) ;
}
#endif