fix: Allow compile without multimodule support (#3750)
This commit is contained in:
@@ -45,6 +45,9 @@
|
||||
#include "hitec.h"
|
||||
#include "hott.h"
|
||||
#include "multi.h"
|
||||
#endif
|
||||
|
||||
#if defined(MULTIMODULE) || defined(PPM)
|
||||
#include "mlink.h"
|
||||
#endif
|
||||
|
||||
@@ -566,7 +569,7 @@ int setTelemetryValue(TelemetryProtocol protocol, uint16_t id, uint8_t subId,
|
||||
break;
|
||||
#endif
|
||||
|
||||
#if defined(MULTIMODULE) or defined(PPM)
|
||||
#if defined(MULTIMODULE) || defined(PPM)
|
||||
case PROTOCOL_TELEMETRY_MLINK:
|
||||
mlinkSetDefault(index, id, subId, instance);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user