Move address, bus and port to TelemetrySensor

This commit is contained in:
oscgonfer
2026-06-14 14:48:40 +02:00
parent 81c0f14217
commit 6c61f12b10
6 changed files with 5 additions and 15 deletions
@@ -61,10 +61,7 @@ struct _SEN5XMeasurements {
class SEN5XSensor : public TelemetrySensor
{
private:
TwoWire *_bus{};
uint8_t _address{};
#ifdef SEN5X_I2C_CLOCK_SPEED
ScanI2C::I2CPort _port = ScanI2C::I2CPort::NO_I2C;
ReClockI2C reClockI2C;
#endif