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
@@ -34,10 +34,7 @@ class PMSA003ISensor : public TelemetrySensor
uint32_t pmMeasureStarted = 0;
uint8_t buffer[PMSA003I_FRAME_LENGTH]{};
TwoWire *_bus{};
uint8_t _address{};
#ifdef PMSA003I_I2C_CLOCK_SPEED
ScanI2C::I2CPort _port = ScanI2C::I2CPort::NO_I2C;
ReClockI2C reClockI2C;
#endif
};