git.droids-corp.org
/
fpv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a935b8
)
display message flags in dump_i2c
author
Olivier Matz
<zer0@droids-corp.org>
Tue, 9 Sep 2014 17:04:23 +0000
(19:04 +0200)
committer
Olivier Matz
<zer0@droids-corp.org>
Tue, 9 Sep 2014 17:49:31 +0000
(19:49 +0200)
mainboard/commands.c
patch
|
blob
|
history
diff --git
a/mainboard/commands.c
b/mainboard/commands.c
index
d0ff2a1
..
558e0b6
100644
(file)
--- 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"),