diff --git a/protobufs b/protobufs index c952f8a4c..76f806e1b 160000 --- a/protobufs +++ b/protobufs @@ -1 +1 @@ -Subproject commit c952f8a4c1c30f724743ee322dd3ec3ec2f934c4 +Subproject commit 76f806e1bb1e2a7b157a14fadd095775f63db5e4 diff --git a/src/detect/ScanI2CTwoWire.cpp b/src/detect/ScanI2CTwoWire.cpp index 9c75c07fd..986cda2f9 100644 --- a/src/detect/ScanI2CTwoWire.cpp +++ b/src/detect/ScanI2CTwoWire.cpp @@ -313,7 +313,7 @@ void ScanI2CTwoWire::scanPort(I2CPort port, uint8_t *address, uint8_t asize) } break; - case RAK12035VB_ADDR: // (0x20) can be RAK12023VB Soil Sensor or TCA9535 I2C expander + case RAK12035VB1_ADDR: // (0x20) can be RAK12023VB Soil Sensor or TCA9535 I2C expander // Check if it is a RAK12035, if not can assume it is a TCA9535 I2C expander // the check.. // - registry address to interrogate is 0x02, diff --git a/src/modules/Telemetry/Sensor/RAK12035VBSensor.cpp b/src/modules/Telemetry/Sensor/RAK12035VBSensor.cpp index 0ef3f1d57..f70e92c9d 100644 --- a/src/modules/Telemetry/Sensor/RAK12035VBSensor.cpp +++ b/src/modules/Telemetry/Sensor/RAK12035VBSensor.cpp @@ -14,7 +14,7 @@ int32_t RAK12035VBSensor::runOnce() return DEFAULT_SENSOR_MINIMUM_WAIT_TIME_BETWEEN_READS; } - sensor.set_sensor_addr(RAK12035VB_ADDR); + sensor.set_sensor_addr(RAK12035VB1_ADDR); sensor.begin(nodeTelemetrySensorsMap[sensorType].first); // Get sensor firmware version