Use hex address for EEPROM.

This commit is contained in:
László Monda
2017-09-20 13:16:07 +02:00
parent 5c8138f123
commit 2086138d9c

View File

@@ -48,7 +48,7 @@
// Reserved for future purposes 0x7F
// The EEPROM is featured separately as it's not connected to the main I2C bus.
#define I2C_ADDRESS_EEPROM 0b1010000
#define I2C_ADDRESS_EEPROM 0x50
#define IS_IS31FL3731_I2C_ADDRESS(address) \
(I2C_ADDRESS_IS31FL3731_LEFT <= (address) && (address) <= I2C_ADDRESS_IS31FL3731_RIGHT)