mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
fix clang size error
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user