jtagarm7 interface improvements, including at91x40
[goodfet] / firmware / apps / i2c / i2c.c
index af2c7f1..e58b266 100644 (file)
@@ -14,7 +14,7 @@
 #include "i2c.h"
 
 #include <signal.h>
-#include <io.h>
+#include <msp430.h>
 #include <iomacros.h>
 
 
@@ -47,7 +47,7 @@ app_t const i2c_app = {
 
 
 //2xx only, need 1xx compat code
-#if (platform == tilaunchpad)
+#if (board == tilaunchpad)
 // P3.1 SDA
 // P3.3 SCL
 #define SDA (1<<1)