Work on state machine
This commit is contained in:
@ -50,7 +50,7 @@
|
||||
|
||||
int ac_run(cw_Cfg_t * cfg);
|
||||
|
||||
|
||||
#include "statemachine.h"
|
||||
|
||||
#include <getopt.h>
|
||||
|
||||
@ -184,6 +184,11 @@ int main (int argc, char *argv[])
|
||||
/* parse arguments */
|
||||
parse_args (argc, argv, &bootcfg);
|
||||
|
||||
|
||||
cw_statemachine_run(NULL);
|
||||
exit(0);
|
||||
|
||||
|
||||
global_cfg=cw_cfg_create();
|
||||
if (!global_cfg){
|
||||
fprintf(stderr,"Can't create global_cfg: %s\n",strerror(errno));
|
||||
|
Reference in New Issue
Block a user