diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/command.h | 4 | ||||
-rw-r--r-- | include/common.h | 1 | ||||
-rw-r--r-- | include/debug.h | 3 |
3 files changed, 3 insertions, 5 deletions
diff --git a/include/command.h b/include/command.h index 2fd20a0..d0933a0 100644 --- a/include/command.h +++ b/include/command.h @@ -26,8 +26,8 @@ * cmd_usage() all over the place. */ typedef enum { - CMD_RET_SUCCESS, /* 0 = Success */ - CMD_RET_FAILURE, /* 1 = Failure */ + CMD_RET_SUCCESS = 0, /* Success */ + CMD_RET_FAILURE = 1, /* Failure */ CMD_RET_USAGE = -1, /* Failure, please report 'usage' error */ } command_ret_t; diff --git a/include/common.h b/include/common.h index ef5af12..74339df 100644 --- a/include/common.h +++ b/include/common.h @@ -3,6 +3,7 @@ #ifdef __AVR__ #include <avr/io.h> +#include <avr/pgmspace.h> //TODO: // Known to work: 4.8.4, 4.9.1 diff --git a/include/debug.h b/include/debug.h index 8fdc830..45a1d50 100644 --- a/include/debug.h +++ b/include/debug.h @@ -3,9 +3,6 @@ #define DEBUG_H_ #include "common.h" -#ifdef __AVR__ -#include <avr/pgmspace.h> -#endif #ifdef DEBUG #define _DEBUG 1 |