merge hostsim in main
authorzer0 <zer0@carbon.local>
Mon, 5 Apr 2010 14:31:13 +0000 (16:31 +0200)
committerzer0 <zer0@carbon.local>
Mon, 5 Apr 2010 14:31:13 +0000 (16:31 +0200)
include/aversive/errno.h
projects/microb2010/tests/hostsim/main.h

index 766c48c..54acf84 100644 (file)
 #ifndef _AVERSIVE_ERRNO_H_
 #define _AVERSIVE_ERRNO_H_
 
+/** No error */
+#define ESUCCESS 0
+
 #ifndef HOST_VERSION
 
 /* from avr-libc, does not define a lots of errors */
 #include <errno.h>
 
-/** No error */
-#define ESUCCESS 0
 /** Operation not permitted */
 #define EPERM    1
 /** No such file or directory */
index 73e3da7..b4fae54 100644 (file)
 
 #define LED2_ON()
 #define LED2_OFF()
-#define LED2_TOGGLE() 
+#define LED2_TOGGLE()
 
-#define LED3_ON() 
-#define LED3_OFF() 
-#define LED3_TOGGLE() 
+#define LED3_ON()
+#define LED3_OFF()
+#define LED3_TOGGLE()
 
 #define LED4_ON()
 #define LED4_OFF()