Fixed telemetry

This commit is contained in:
Raphael Coeffic
2021-09-19 16:17:47 +02:00
parent 78d8d976b4
commit b0147a43d0
4 changed files with 67 additions and 47 deletions
@@ -26,6 +26,8 @@
#include "libopenui.h"
#endif
#include "telemetry/flysky_nv14.h"
TelemetryItem telemetryItems[MAX_TELEMETRY_SENSORS];
uint8_t allowNewSensors;
@@ -557,6 +559,12 @@ int setTelemetryValue(TelemetryProtocol protocol, uint16_t id, uint8_t subId, ui
break;
#endif
#if defined(AFHDS2)
case PROTOCOL_TELEMETRY_FLYSKY_NV14:
flySkyNv14SetDefault(index, id, subId, instance);
break;
#endif
#if defined(MULTIMODULE)
case PROTOCOL_TELEMETRY_SPEKTRUM:
spektrumSetDefault(index, id, subId, instance);