1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-23 16:16:13 +01:00

guessI2CDeviceType should always return FSH "string"

This commit is contained in:
Harald Barth 2024-01-10 09:16:27 +01:00
parent b3667b4d85
commit fa44d54774

View File

@ -66,8 +66,8 @@ static const FSH * guessI2CDeviceType(uint8_t address) {
return F("Real-time clock"); return F("Real-time clock");
else if (address >= 0x70 && address <= 0x77) else if (address >= 0x70 && address <= 0x77)
return F("I2C Mux"); return F("I2C Mux");
else if (address >= 0x90 && address <= 0xAE); else if (address >= 0x90 && address <= 0xAE)
else return F("UART");
return F("?"); return F("?");
} }