From 7ed7e66b32a56fd1f16b73cd9aaccf59b0d64f27 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 25 Oct 2016 23:54:21 -0400 Subject: driver: status codes: refactor and normalize. --- include/sofort/sofort.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include') diff --git a/include/sofort/sofort.h b/include/sofort/sofort.h index 4a59e6c..ff1fb60 100644 --- a/include/sofort/sofort.h +++ b/include/sofort/sofort.h @@ -21,10 +21,7 @@ extern "C" { /* status codes */ #define SFRT_OK 0x00 #define SFRT_USAGE 0x01 -#define SFRT_BAD_OPT 0x02 -#define SFRT_BAD_OPT_VAL 0x03 -#define SFRT_IO_ERROR 0xA0 -#define SFRT_MAP_ERROR 0xA1 +#define SFRT_ERROR 0x02 /* driver flags */ #define SFRT_DRIVER_VERBOSITY_NONE 0x0000 -- cgit v1.2.3