From b33a589412b67654829a1f10e7cac743681a24f4 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Thu, 26 Jun 2014 20:33:22 +0200 Subject: [PATCH] i2cm: fix configuration for this hardware --- i2cm_sw.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/i2cm_sw.c b/i2cm_sw.c index 92f2321..8c8e238 100644 --- a/i2cm_sw.c +++ b/i2cm_sw.c @@ -49,11 +49,11 @@ void (*g_i2cm_event)(i2cm_state state); A5 = PC5/SCL */ -#define I2CM_SCL_PORT PORTC -#define I2CM_SCL_BIT 5 +#define I2CM_SCL_PORT PORTD +#define I2CM_SCL_BIT 6 -#define I2CM_SDA_PORT PORTC -#define I2CM_SDA_BIT 4 +#define I2CM_SDA_PORT PORTD +#define I2CM_SDA_BIT 5 #define I2CM_SCL I2CM_SCL_PORT, I2CM_SCL_BIT #define I2CM_SDA I2CM_SDA_PORT, I2CM_SDA_BIT -- 2.39.5