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:
parent
b3667b4d85
commit
fa44d54774
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user