fix: Allow compile without multimodule support (#3750)

This commit is contained in:
3djc
2023-07-03 19:07:02 +10:00
committed by GitHub
parent 1820ff8d5c
commit 8f0ad3fca8
6 changed files with 20 additions and 8 deletions
+4 -1
View File
@@ -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;