mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 16:50:36 +08:00
clang-tidy: enable hicpp-braces-around-statements and fix
This commit is contained in:
@@ -1152,7 +1152,7 @@ void Logger::run()
|
||||
* And on linux this is quite accurate as well, but under NuttX it is not accurate,
|
||||
* because usleep() has only a granularity of CONFIG_MSEC_PER_TICK (=1ms).
|
||||
*/
|
||||
while (px4_sem_wait(&timer_callback_data.semaphore) != 0);
|
||||
while (px4_sem_wait(&timer_callback_data.semaphore) != 0) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user