Slots for upcoming telemetry sensor support

This commit is contained in:
Ben Meadors
2022-09-10 17:28:01 -05:00
parent 7f18c0fb77
commit f98e96cf1b
4 changed files with 10 additions and 6 deletions

View File

@@ -87,7 +87,7 @@ uint32_t serialSinceMsec;
bool pmu_found;
// Array map of sensor types (as array index) and i2c address as value we'll find in the i2c scan
uint8_t nodeTelemetrySensorsMap[7] = { 0, 0, 0, 0, 0, 0, 0 };
uint8_t nodeTelemetrySensorsMap[TelemetrySensorType_LPS22+1] = { 0, 0, 0, 0, 0, 0, 0, 0, 0 };
Router *router = NULL; // Users of router don't care what sort of subclass implements that API