--- Daodan/src/Daodan_Config.h 2014/04/06 17:06:02 993 +++ Daodan/src/Daodan_Config.h 2014/04/07 10:33:27 994 @@ -3,7 +3,10 @@ #include "stdint.h" +typedef void (*cmd_callback)(); + typedef enum { + C_CMD, C_BOOL, C_INT, C_STRING, @@ -14,6 +17,7 @@ typedef union { int intBoolVal; uint8_t* extBoolVal; char* stringVal; + cmd_callback callback; } OptionValue_t; typedef struct {