Validate RSSI instance to allow user defined RSSI source (issue #5842) (#5846)

This commit is contained in:
marbalon
2018-05-21 10:37:09 +02:00
committed by Bertrand Songis
parent 2f91eba85d
commit 1b3897a425
3 changed files with 23 additions and 2 deletions
+1
View File
@@ -137,5 +137,6 @@ class TelemetryItem
extern TelemetryItem telemetryItems[MAX_TELEMETRY_SENSORS];
extern uint8_t allowNewSensors;
bool isFaiForbidden(source_t idx);
bool isValidIdAndInstance(uint16_t id, uint8_t instance);
#endif // _TELEMETRY_SENSORS_H_