Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos] / src / drivers / ao_lco_two.c
index 2fa0a21f0ace94700ac10950e14c68dcee896a34..49ea123678714f65d46841cc581bcdfb96817867 100644 (file)
@@ -46,7 +46,19 @@ ao_lco_wakeup(void)
 }
 
 void
-ao_lco_show_display(void)
+ao_lco_show_pad(uint8_t pad)
+{
+       (void) pad;
+}
+
+void
+ao_lco_show_box(uint16_t box)
+{
+       (void) box;
+}
+
+void
+ao_lco_show(void)
 {
 }
 
@@ -112,12 +124,12 @@ ao_lco_main(void)
 void
 ao_lco_set_debug(void)
 {
-       ao_cmd_decimal();
+       uint16_t r = ao_cmd_decimal();
        if (ao_cmd_status == ao_cmd_success)
-               ao_lco_debug = ao_cmd_lex_i;
+               ao_lco_debug = r;
 }
 
-__code struct ao_cmds ao_lco_cmds[] = {
+const struct ao_cmds ao_lco_cmds[] = {
        { ao_lco_set_debug,     "D <0 off, 1 on>\0Debug" },
        { 0, NULL }
 };