Replay: show time of AHRS health change

This commit is contained in:
Andrew Tridgell 2015-05-19 15:21:12 +10:00
parent 5514a9f690
commit f08f0ca2f9

View File

@ -329,7 +329,9 @@ static void read_sensors(const char *type)
dataflash.Log_Write_POS(ahrs);
if (ahrs.healthy() != ahrs_healthy) {
ahrs_healthy = ahrs.healthy();
printf("AHRS health: %u\n", (unsigned)ahrs_healthy);
printf("AHRS health: %u at %lu\n",
(unsigned)ahrs_healthy,
(unsigned long)hal.scheduler->millis());
}
}
}