HAL_AVR_SITL: fixed windows build

This commit is contained in:
Andrew Tridgell 2013-03-03 22:22:19 +11:00
parent cf2d99847e
commit 16270ccc47

View File

@ -211,10 +211,10 @@ void SITL_State::_timer_handler(int signum)
static uint32_t last_report;
count++;
if (millis() - last_report > 1000) {
if (hal.scheduler->millis() - last_report > 1000) {
fprintf(stdout, "TH %u cps\n", count);
count = 0;
last_report = millis();
last_report = hal.scheduler->millis();
}
#endif