mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-12-06 21:13:16 +00:00
AFHDS2A: working version
- Wait for transmit completion before switching to RX (no more fixed delays...) - Verify if data has been received before processing it (better handling of telemetry) - Added TX_RSSI (along with the existing RX_RSSI) Known issue: RX_RSSI value needs to be looked at. I'm seeing only values between 157 (bad) and 196 (good). Is this normal for this protocol?
This commit is contained in:
@@ -135,7 +135,7 @@ void frsky_link_frame()
|
||||
frame[1] = v_lipo*2; //v_lipo; common 0x2A=42/10=4.2V
|
||||
frame[2] = frame[1];
|
||||
frame[3] = protocol==MODE_HUBSAN?0x00:(uint8_t)RSSI_dBm;
|
||||
frame[4] = protocol==MODE_HUBSAN?(uint8_t)RSSI_dBm:0x00;
|
||||
frame[4] = TX_RSSI;
|
||||
}
|
||||
frame[5] = frame[6] = frame[7] = frame[8] = 0;
|
||||
frskySendStuffed();
|
||||
|
||||
Reference in New Issue
Block a user