Rescan I2C on AQ module init (#10593)

This commit is contained in:
oscgonfer
2026-07-03 15:41:05 +02:00
committed by GitHub
parent 66a78ff693
commit 375fe944a4
10 changed files with 74 additions and 19 deletions
@@ -56,6 +56,11 @@ class TelemetrySensor
}
const char *sensorName;
// TODO: Rename?
uint8_t _address = 0;
TwoWire *_bus{};
ScanI2C::I2CPort _port = ScanI2C::I2CPort::NO_I2C;
// TODO: delete after migration
bool hasSensor() { return nodeTelemetrySensorsMap[sensorType].first > 0; }