From 6779c81529cfd79a49c31c9a17e01fb09cb13a21 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Tue, 9 Sep 2014 19:04:23 +0200 Subject: [PATCH] display message flags in dump_i2c --- mainboard/commands.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mainboard/commands.c b/mainboard/commands.c index d0ff2a1..558e0b6 100644 --- a/mainboard/commands.c +++ b/mainboard/commands.c @@ -2296,6 +2296,8 @@ static void cmd_dump_i2c_parsed(void *parsed_result, void *data) memcpy(&imu, &imuboard_status, sizeof(imu)); IRQ_UNLOCK(irq_flags); + printf_P(PSTR("flags=%x\n"), imu.flags); + if (imu.flags & I2C_IMUBOARD_STATUS_GPS_OK) { printf_P(PSTR("GPS lat=%"PRIi32" long=%"PRIi32 " alt=%"PRIi32"\n"), -- 2.39.5