mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 22:58:10 +00:00
Keep old AFHDS2A format for ersky9x
This commit is contained in:
parent
a196b71d36
commit
bdef0612f7
@ -125,7 +125,11 @@ void DSM_frame()
|
|||||||
#ifdef AFHDS2A_FW_TELEMETRY
|
#ifdef AFHDS2A_FW_TELEMETRY
|
||||||
void AFHDSA_short_frame()
|
void AFHDSA_short_frame()
|
||||||
{
|
{
|
||||||
|
#if defined MULTI_TELEMETRY
|
||||||
multi_send_header(MULTI_TELEMETRY_AFHDS2A, 29);
|
multi_send_header(MULTI_TELEMETRY_AFHDS2A, 29);
|
||||||
|
#else
|
||||||
|
Serial_write(0xAA); // Telemetry packet
|
||||||
|
#endif
|
||||||
for (uint8_t i = 0; i < 29; i++) // RSSI value followed by 4*7 bytes of telemetry data
|
for (uint8_t i = 0; i < 29; i++) // RSSI value followed by 4*7 bytes of telemetry data
|
||||||
Serial_write(pkt[i]);
|
Serial_write(pkt[i]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user