Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos] / src / telefireone-v1.0 / ao_telefireone.c
index 115b3e914e46d52184a9417b1ec9643096555073..6506235a975be2c596c401cd254498a5f783c76e 100644 (file)
 static void
 set_logging(void)
 {
-       ao_cmd_hex();
-       ao_log_running = ao_cmd_lex_i;
+       ao_log_running = ao_cmd_hex();
        ao_wakeup(&ao_log_running);
 }
 
-__code struct ao_cmds ao_firetwo_cmds[] = {
+const struct ao_cmds ao_firetwo_cmds[] = {
         { set_logging,  "L <0 off, 1 on>\0Log sensors to flash" },
         { 0,    NULL },
 };