altos: Support normalized axes in mpu6000 and mmc5983
[fw/altos] / src / drivers / ao_lco_two.c
index 49ea123678714f65d46841cc581bcdfb96817867..8d4476efdbe08c1c4f6ff6185ff2e5f8b591be5b 100644 (file)
@@ -79,8 +79,8 @@ ao_lco_input(void)
                        ao_event_get(&event);
                }
                ao_lco_wakeup();
-               PRINTD("event type %d unit %d value %d\n",
-                      event.type, event.unit, event.value);
+               PRINTD("event type %d unit %d value %ld\n",
+                      event.type, event.unit, (long) event.value);
                switch (event.type) {
                case AO_EVENT_BUTTON:
                        switch (event.unit) {
@@ -121,7 +121,7 @@ ao_lco_main(void)
 }
 
 #if DEBUG
-void
+static void
 ao_lco_set_debug(void)
 {
        uint16_t r = ao_cmd_decimal();