]> git.droids-corp.org - fpv.git/commitdiff
display message flags in dump_i2c
authorOlivier Matz <zer0@droids-corp.org>
Tue, 9 Sep 2014 17:04:23 +0000 (19:04 +0200)
committerOlivier Matz <zer0@droids-corp.org>
Tue, 9 Sep 2014 17:49:31 +0000 (19:49 +0200)
mainboard/commands.c

index d0ff2a1aaa6e68252d5f67d1272e9fcf9293c19f..558e0b653541453ca3cb76e35a687fb17cba68e3 100644 (file)
@@ -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"),