@@ -52,7 +52,7 @@ NOINLINE void processFrskyTelemetryData(uint8_t data)
|
||||
{
|
||||
static uint8_t dataState = STATE_DATA_IDLE;
|
||||
|
||||
#if defined(BLUETOOTH)
|
||||
#if defined(PCBSKY9X) && defined(BLUETOOTH)
|
||||
// TODO if (g_model.bt_telemetry)
|
||||
btPushByte(data);
|
||||
#endif
|
||||
|
||||
@@ -272,7 +272,9 @@ PACK(struct FrskyTelemetryData {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(PCBX9DP) || defined(PCBX9E)
|
||||
#if defined(PCBX10)
|
||||
#define IS_SWR_VALUE_VALID() (false)
|
||||
#elif defined(PCBX9DP) || defined(PCBX9E)
|
||||
#define IS_SWR_VALUE_VALID() (telemetryData.xjtVersion != 0 && telemetryData.xjtVersion != 0xff)
|
||||
#else
|
||||
#define IS_SWR_VALUE_VALID() (true)
|
||||
|
||||
Reference in New Issue
Block a user