From 48ea32b5f2e7e3eba76955e458066eac050ce965 Mon Sep 17 00:00:00 2001 From: zer0 Date: Mon, 5 Apr 2010 16:31:13 +0200 Subject: [PATCH] merge hostsim in main --- include/aversive/errno.h | 5 +++-- projects/microb2010/tests/hostsim/main.h | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) 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() -- 2.39.5