projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Arduino port is blinking.
[goodfet]
/
firmware
/
goodfet.c
diff --git
a/firmware/goodfet.c
b/firmware/goodfet.c
index
5d33b39
..
714fbe6
100644
(file)
--- a/
firmware/goodfet.c
+++ b/
firmware/goodfet.c
@@
-18,7
+18,15
@@
//! General init function, calls platform-specific one.
void init(){
#ifdef MSP430
//! 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
#else
#warning "No init() routine for this platform!"
#endif