fix(radio): potential crash if too many telemetry sensors discovered (#6288)

This commit is contained in:
philmoz
2025-05-25 12:43:28 +10:00
committed by GitHub
parent dc0d85d035
commit 58d457b24b
6 changed files with 33 additions and 27 deletions
+1 -1
View File
@@ -130,5 +130,5 @@ class TelemetryItem
};
extern TelemetryItem telemetryItems[MAX_TELEMETRY_SENSORS];
extern uint8_t allowNewSensors;
extern bool allowNewSensors;
bool isFaiForbidden(source_t idx);