AP_Compass: Remove i2c lockup count
This was returned only for a single bus and on all supported platforms this is hardcoded to 0.
This commit is contained in:
parent
84f45f09a3
commit
4595a2b7d8
@ -77,12 +77,11 @@ void loop()
|
|||||||
offset[i][2] = -(max[i][2] + min[i][2]) / 2;
|
offset[i][2] = -(max[i][2] + min[i][2]) / 2;
|
||||||
|
|
||||||
// display all to user
|
// display all to user
|
||||||
hal.console->printf("Heading: %.2f (%3d,%3d,%3d) i2c error: %u",
|
hal.console->printf("Heading: %.2f (%3d,%3d,%3d)",
|
||||||
ToDeg(heading),
|
ToDeg(heading),
|
||||||
(int)mag.x,
|
(int)mag.x,
|
||||||
(int)mag.y,
|
(int)mag.y,
|
||||||
(int)mag.z,
|
(int)mag.z);
|
||||||
(unsigned)hal.i2c->lockup_count());
|
|
||||||
|
|
||||||
// display offsets
|
// display offsets
|
||||||
hal.console->printf(" offsets(%.2f, %.2f, %.2f)",
|
hal.console->printf(" offsets(%.2f, %.2f, %.2f)",
|
||||||
|
Loading…
Reference in New Issue
Block a user