Pass options to ISP

This commit is contained in:
Kamil Trzcinski
2022-04-08 19:57:22 +02:00
parent 42ab32b1a6
commit 08c179e22a
5 changed files with 20 additions and 18 deletions

View File

@ -25,13 +25,7 @@ typedef struct options_s {
const char *default_value;
} option_t;
#define lambda(return_type, function_body) \
({ \
return_type __fn__ function_body \
__fn__; \
})
#define OPTION_VALUE_LIST_SEP ","
#define OPTION_VALUE_LIST_SEP ";"
#define OPTION_FORMAT_uint "%d"
#define OPTION_FORMAT_hex "%08x"