From 453203717769c12e37678c93fcaf4150f2d16a39 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Mon, 23 Aug 2010 00:56:41 +0200 Subject: [PATCH] increase size of i2c receive buffer --- bmc/bmc.c | 2 +- bmc/i2c.c | 2 +- bmc/i2c.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bmc/bmc.c b/bmc/bmc.c index abe86e5..c96cf6a 100644 --- a/bmc/bmc.c +++ b/bmc/bmc.c @@ -12,7 +12,7 @@ int main(void) { uint8_t old_SREG; - unsigned char buf[12]; + unsigned char buf[24]; unsigned int len; chassis_init(); diff --git a/bmc/i2c.c b/bmc/i2c.c index bf561d0..f081991 100644 --- a/bmc/i2c.c +++ b/bmc/i2c.c @@ -9,7 +9,7 @@ #define TWCR_NACK TWCR = (1<