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 committed 2016-09-16 10:39:44 +02:00
1 parent b1c38cc793
commit 99e8be227e
3 files changed
+63 -21

No files matched your search

+6 -1
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