From 0a4bfd31b0b0b50659a6fbd8dfa283ba2603aabf Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Thu, 26 Jun 2014 20:34:58 +0200 Subject: [PATCH] i2cm: decrease clock speed (could be restored later) --- i2cm_sw.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i2cm_sw.h b/i2cm_sw.h index 53b716a..4a51e57 100644 --- a/i2cm_sw.h +++ b/i2cm_sw.h @@ -30,8 +30,8 @@ typedef uint8_t i2cm_state; #define I2CM_SENT_STOP 7 #define I2CM_RECEIVED_BYTE 8 -#define I2CM_DELAY() _delay_loop_2(1) -#define I2CM_BIT_DELAY() _delay_loop_2(1) +#define I2CM_DELAY() _delay_loop_2(4) +#define I2CM_BIT_DELAY() _delay_loop_2(4) void i2cm_init(void); void i2cm_manage(void); -- 2.39.5