Skip to content

Commit ef88a2a

Browse files
committed
remove aht message call which accesses properties, before we start building it out..
1 parent 9f0115f commit ef88a2a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/i2c/WipperSnapper_I2C.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ bool WipperSnapper_Component_I2C::attachI2CDevice(
126126

127127
// AHTX0 Sensor
128128
if (msgDeviceInitReq->has_aht_init) {
129-
uint16_t addr = (uint16_t)msgDeviceInitReq->aht_init.address;
129+
// TODO: Implement handling in future release
130+
/* uint16_t addr = (uint16_t)msgDeviceInitReq->aht_init.address;
130131
WS_DEBUG_PRINTLN("Requesting to initialize AHTx sensor");
131132
WS_DEBUG_PRINT("\tSensor Addr: ");
132133
WS_DEBUG_PRINTLN(addr, HEX);
@@ -150,7 +151,7 @@ bool WipperSnapper_Component_I2C::attachI2CDevice(
150151
aht->enableAHTX0Humidity();
151152
}
152153
// Push to vector for sensor drivers
153-
activeDrivers.push_back(aht);
154+
activeDrivers.push_back(aht); */
154155
attachSuccess = true;
155156
} else {
156157
WS_DEBUG_PRINTLN("ERROR: Sensor not found")

0 commit comments

Comments
 (0)