From 2086138d9cc63e0fd2c91013603b70fa18640b6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Wed, 20 Sep 2017 13:16:07 +0200 Subject: [PATCH] Use hex address for EEPROM. --- shared/i2c_addresses.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/i2c_addresses.h b/shared/i2c_addresses.h index f901319..50fea10 100644 --- a/shared/i2c_addresses.h +++ b/shared/i2c_addresses.h @@ -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)