Work on state machine

This commit is contained in:
2022-08-11 00:21:01 +02:00
parent bf8a8c6d53
commit e5f5687b2b
17 changed files with 106 additions and 67 deletions

View File

@ -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));