From 52903f83e3e0eacf8cfc379e81ef91043baa2e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Tue, 3 Jan 2023 19:19:11 +0100 Subject: [PATCH] remove Merge duplication --- src/detect/i2cScan.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/detect/i2cScan.h b/src/detect/i2cScan.h index 482a24a57..77d1fff17 100644 --- a/src/detect/i2cScan.h +++ b/src/detect/i2cScan.h @@ -195,10 +195,6 @@ void scanI2Cdevice() LOG_INFO("SHT31 sensor found\n"); nodeTelemetrySensorsMap[TelemetrySensorType_SHT31] = addr; } - if (addr == SHT31_ADDR) { - DEBUG_MSG("SHT31 sensor found\n"); - nodeTelemetrySensorsMap[TelemetrySensorType_SHT31] = addr; - } if (addr == SHTC3_ADDR) { LOG_INFO("SHTC3 sensor found\n"); nodeTelemetrySensorsMap[TelemetrySensorType_SHTC3] = addr;