X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fdrivers%2Fao_lco_two.c;h=8d4476efdbe08c1c4f6ff6185ff2e5f8b591be5b;hb=91b6d1e56a37a2cfae53c3727feaaa40505f48d9;hp=cfef2a631c488a12e86d130d2680dd3444593447;hpb=d0adf3f44b4a1b4bfc966dd4841c74157f60d604;p=fw%2Faltos diff --git a/src/drivers/ao_lco_two.c b/src/drivers/ao_lco_two.c index cfef2a63..8d4476ef 100644 --- a/src/drivers/ao_lco_two.c +++ b/src/drivers/ao_lco_two.c @@ -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) {