Arduino port is blinking.
[goodfet] / firmware / goodfet.c
index 5d33b39..714fbe6 100644 (file)
 //! General init function, calls platform-specific one.
 void init(){
 #ifdef MSP430
-  msp430_init();
+  #define INITCHIP msp430_init();
+#endif
+
+#ifdef ARDUINO
+  #define INITCHIP arduino_init();
+#endif
+
+#ifdef INITCHIP
+INITCHIP
 #else
 #warning "No init() routine for this platform!"
 #endif