1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 21:01:25 +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,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