From fa44d547749a36b2b89c7254c2d608d3d09e2604 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Wed, 10 Jan 2024 09:16:27 +0100 Subject: [PATCH] guessI2CDeviceType should always return FSH "string" --- I2CManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/I2CManager.cpp b/I2CManager.cpp index fadf8bb..2591e13 100644 --- a/I2CManager.cpp +++ b/I2CManager.cpp @@ -66,9 +66,9 @@ static const FSH * guessI2CDeviceType(uint8_t address) { return F("Real-time clock"); else if (address >= 0x70 && address <= 0x77) return F("I2C Mux"); - else if (address >= 0x90 && address <= 0xAE); - else - return F("?"); + else if (address >= 0x90 && address <= 0xAE) + return F("UART"); + return F("?"); } // If not already initialised, initialise I2C