Re-add rxnum for multi rx (needed for trainer)
This commit is contained in:
@@ -384,9 +384,6 @@ inline bool isModuleRxNumAvailable(uint8_t moduleIdx)
|
|||||||
if (isModuleISRM(moduleIdx))
|
if (isModuleISRM(moduleIdx))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (IS_RX_MULTI(moduleIdx))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if (isModuleMultimodule(moduleIdx))
|
if (isModuleMultimodule(moduleIdx))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|||||||
@@ -121,6 +121,7 @@ extern uint8_t telemetryProtocol;
|
|||||||
#define IS_D16_MULTI(module) false
|
#define IS_D16_MULTI(module) false
|
||||||
#define IS_HOTT_MULTI(module) false
|
#define IS_HOTT_MULTI(module) false
|
||||||
#define IS_FRSKY_SPORT_PROTOCOL() (telemetryProtocol == PROTOCOL_TELEMETRY_FRSKY_SPORT)
|
#define IS_FRSKY_SPORT_PROTOCOL() (telemetryProtocol == PROTOCOL_TELEMETRY_FRSKY_SPORT)
|
||||||
|
#define IS_RX_MULTI(module) false
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define IS_SPEKTRUM_PROTOCOL() (telemetryProtocol == PROTOCOL_TELEMETRY_SPEKTRUM)
|
#define IS_SPEKTRUM_PROTOCOL() (telemetryProtocol == PROTOCOL_TELEMETRY_SPEKTRUM)
|
||||||
|
|||||||
Reference in New Issue
Block a user