X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fdrivers%2Fao_mmc5983.c;h=5d97d757f3fd1fedaeafcf300f7428c0de12c060;hb=568379f381dbb4bf587e95ce1d9c400e856ff6c6;hp=e27051a5173c852c5d41f7218987049bee022f72;hpb=71674569800c58db0a9f3d63495c0e1341e51b32;p=fw%2Faltos diff --git a/src/drivers/ao_mmc5983.c b/src/drivers/ao_mmc5983.c index e27051a5..5d97d757 100644 --- a/src/drivers/ao_mmc5983.c +++ b/src/drivers/ao_mmc5983.c @@ -202,9 +202,10 @@ static struct ao_task ao_mmc5983_task; static void ao_mmc5983_show(void) { - printf ("X: %d Z: %d Y: %d id: %d\n", - ao_mmc5983_current.x, ao_mmc5983_current.z, ao_mmc5983_current.y, - product_id); + printf ("MMC5983: %d %d %d\n", + ao_mmc5983_along(&ao_mmc5983_current), + ao_mmc5983_across(&ao_mmc5983_current), + ao_mmc5983_through(&ao_mmc5983_current)); } static const struct ao_cmds ao_mmc5983_cmds[] = {