From: Olivier Matz Date: Tue, 9 Sep 2014 17:04:23 +0000 (+0200) Subject: display message flags in dump_i2c X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6779c81529cfd79a49c31c9a17e01fb09cb13a21;p=fpv.git display message flags in dump_i2c --- 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"),