From: zer0 Date: Mon, 5 Apr 2010 14:31:13 +0000 (+0200) Subject: merge hostsim in main X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=48ea32b5f2e7e3eba76955e458066eac050ce965;p=aversive.git merge hostsim in main --- diff --git a/include/aversive/errno.h b/include/aversive/errno.h index 766c48c..54acf84 100644 --- a/include/aversive/errno.h +++ b/include/aversive/errno.h @@ -27,13 +27,14 @@ #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 -/** No error */ -#define ESUCCESS 0 /** Operation not permitted */ #define EPERM 1 /** No such file or directory */ diff --git a/projects/microb2010/tests/hostsim/main.h b/projects/microb2010/tests/hostsim/main.h index 73e3da7..b4fae54 100644 --- a/projects/microb2010/tests/hostsim/main.h +++ b/projects/microb2010/tests/hostsim/main.h @@ -32,11 +32,11 @@ #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()