HRT: Fix code style

This commit is contained in:
Lorenz Meier
2016-02-05 09:16:53 +01:00
parent ac788ad5dc
commit 5f93f04627

View File

@@ -147,6 +147,7 @@ hrt_abstime hrt_absolute_time(void)
if (_start_delay_time > 0) {
ret = _start_delay_time;
} else {
ret = _hrt_absolute_time_internal();
}
@@ -285,9 +286,11 @@ void hrt_stop_delay()
int64_t delta = _hrt_absolute_time_internal() - _start_delay_time;
_delay_interval += delta;
_start_delay_time = 0;
if (delta > 10000) {
PX4_INFO("simulator is slow. Delay added: %llu us", delta);
}
pthread_mutex_unlock(&_hrt_mutex);
}