From 87f4338b452dea4fdebba3eac573bec999642eb9 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Mon, 23 Aug 2010 17:43:00 +0200 Subject: [PATCH] acknowledge all interrupts when sending, fixes a crash... --- bmc/i2c.c | 42 +++++++++++++++++++++++++++++++----------- 1 file changed, 31 insertions(+), 11 deletions(-) diff --git a/bmc/i2c.c b/bmc/i2c.c index 92c00cc..f0816f0 100644 --- a/bmc/i2c.c +++ b/bmc/i2c.c @@ -39,34 +39,47 @@ void i2c_send(unsigned char *buf, int len) TWCR = ((1<