From 260d28daf6da231e33864fe853c4bbc9370ccb64 Mon Sep 17 00:00:00 2001 From: "Justin E. Mann" Date: Mon, 2 Dec 2024 11:05:44 -0700 Subject: [PATCH] formatting --- src/detect/ScanI2CTwoWire.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/detect/ScanI2CTwoWire.cpp b/src/detect/ScanI2CTwoWire.cpp index 23e19971e..eea268bba 100644 --- a/src/detect/ScanI2CTwoWire.cpp +++ b/src/detect/ScanI2CTwoWire.cpp @@ -258,11 +258,6 @@ void ScanI2CTwoWire::scanPort(I2CPort port, uint8_t *address, uint8_t asize) } break; - - - - - case INA3221_ADDR: // (0x40) can be INA3221, RAK12500 or DFROBOT Lark weather station registerValue = getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0xFE), 2); LOG_DEBUG("Register MFG_UID FE: 0x%x", registerValue); @@ -290,7 +285,6 @@ 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 - // Check if it is a RAK12035, if not can assume it is a TCA9535 I2C expander // additional info about registry values can be found here [https://github.com/RAKWireless/RAK12035_SoilMoisture/blob/main/RAK12035_SoilMoisture.h] registerValue = getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0x02), 1); // get the default address for the device (stored in registry here [0x02]).. should come back as 0x20