From: Erik Andresen Date: Sat, 16 Sep 2017 19:38:00 +0000 (+0200) Subject: avr/nano: i2c fixes X-Git-Url: https://defiant.homedns.org/gitweb/?a=commitdiff_plain;h=7d4c9ee68cdd0e924df9d5517c5849047a76e875;p=ros_wild_thumper.git avr/nano: i2c fixes --- diff --git a/avr/nano/main.c b/avr/nano/main.c index aba8aa1..16a316c 100644 --- a/avr/nano/main.c +++ b/avr/nano/main.c @@ -5,6 +5,9 @@ #include #include #include +#include +#include +#include #include "uart.h" /* @@ -34,9 +37,9 @@ */ -#define TWI_ACK TWCR = (1<