From 3ced6aae4ab2ba5d79853ad8dfecdfca184cb3c0 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Sun, 3 Apr 2016 20:47:49 +0200 Subject: [PATCH] I2C: handling another master sending is part of slave mode. At least, avr-libc says so. Saves some 36 bytes in interrupt context. --- i2c.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i2c.c b/i2c.c index 2bd7491..133ff97 100644 --- a/i2c.c +++ b/i2c.c @@ -284,6 +284,9 @@ ISR(TWI_vect) { TWCR = (1<