1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 12:51:24 +01:00

Update I2CManager.cpp

Add Real-time clock as a device address category (address 0x68).
This commit is contained in:
Neil McKechnie 2023-02-22 21:09:40 +00:00
parent c3675367ed
commit 8e8ae90030

View File

@ -60,6 +60,8 @@ static const FSH * guessI2CDeviceType(uint8_t address) {
return F("PWM");
else if (address >= 0x50 && address <= 0x5f)
return F("EEPROM");
else if (address == 0x68)
return F("Real-time clock");
else if (address >= 0x70 && address <= 0x77)
return F("I2C Mux");
else