mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-13 15:11:20 +10:00
Rescan I2C on AQ module init (#10593)
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user