fix clang size error

This commit is contained in:
Daniel Agar
2016-02-27 22:22:23 -05:00
committed by Julian Oes
parent dfeab4f5e3
commit 3a209d71af

View File

@@ -335,12 +335,12 @@ void hrt_start_delay()
void hrt_stop_delay()
{
pthread_mutex_lock(&_hrt_mutex);
int64_t delta = _hrt_absolute_time_internal() - _start_delay_time;
uint64_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: %" PRIi64 " us", delta);
PX4_INFO("simulator is slow. Delay added: %" PRIu64 " us", delta);
}
pthread_mutex_unlock(&_hrt_mutex);