From e748efd36ae4fb41f24baa4cc79d674dba2a8c3f Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Tue, 13 Jan 2015 13:18:48 +0100 Subject: Remove debugging puts/fwrite MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We’re tight on SRAM and the stack seems overflow from time to time. Removing the strings should give us some breathing room. --- i2c.c | 1 - 1 file changed, 1 deletion(-) (limited to 'i2c.c') diff --git a/i2c.c b/i2c.c index 26da2d8..bbee35b 100644 --- a/i2c.c +++ b/i2c.c @@ -39,7 +39,6 @@ static void twWaitRaw () { static bool twWriteRaw (const uint8_t data) { TWDR = data; if (TWCR & (1 << TWWC)) { - puts ("write collision"); return false; } else { return true; -- cgit v1.2.3