[ersky9x] Bluetooth FrSky proxy added (ported from ersky9x, still untested, not part of the release)
This commit is contained in:
@@ -431,6 +431,11 @@ NOINLINE void processSerialData(uint8_t stat, uint8_t data)
|
||||
static uint8_t numPktBytes = 0;
|
||||
static uint8_t dataState = frskyDataIdle;
|
||||
|
||||
#if defined(BLUETOOTH)
|
||||
// TODO if (g_model.bt_telemetry)
|
||||
btPushByte(data);
|
||||
#endif
|
||||
|
||||
#if !defined(PCBARM)
|
||||
if (stat & ((1 << FE0) | (1 << DOR0) | (1 << UPE0))) {
|
||||
// discard buffer and start fresh on any comms error
|
||||
|
||||
Reference in New Issue
Block a user