aboutsummaryrefslogtreecommitdiff
path: root/i2c.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-01-13 13:18:48 +0100
committerLars-Dominik Braun <lars@6xq.net>2015-01-13 13:18:48 +0100
commite748efd36ae4fb41f24baa4cc79d674dba2a8c3f (patch)
treef2425e5dc1aff9f8874da55941de0dbfe436c1c6 /i2c.c
parentebc6f6a6cf20a25c0dd2cefaa9c86285509a3407 (diff)
downloadhourglass-e748efd36ae4fb41f24baa4cc79d674dba2a8c3f.tar.gz
hourglass-e748efd36ae4fb41f24baa4cc79d674dba2a8c3f.tar.bz2
hourglass-e748efd36ae4fb41f24baa4cc79d674dba2a8c3f.zip
Remove debugging puts/fwrite
We’re tight on SRAM and the stack seems overflow from time to time. Removing the strings should give us some breathing room.
Diffstat (limited to 'i2c.c')
-rw-r--r--i2c.c1
1 files changed, 0 insertions, 1 deletions
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;