mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-09 22:08:56 +08:00
style(format): astyle blank line after Windows lockstep guard
`make check_format` (Gate Checks [check_format]) flagged the
__PX4_WINDOWS gate added in d681d45e8b. Astyle 3.1 wants a blank line
between an `#if defined(...)` directive and the comment block that
follows; without it the directive and the comment read as a single
visual unit and astyle reformats it. No-op for behavior.
Signed-off-by: Nuno Marques <n.marques21@hotmail.com>
This commit is contained in:
@@ -193,6 +193,7 @@ void WorkQueue::Run()
|
||||
#if defined(ENABLE_LOCKSTEP_SCHEDULER)
|
||||
|
||||
#if defined(__PX4_WINDOWS)
|
||||
|
||||
// Windows-only: winpthreads occasionally drops pthread_cond_broadcast
|
||||
// wakes, so explicitly hand back lockstep progress after each Run()
|
||||
// pass to keep the simulator advancing even if the broadcast that
|
||||
|
||||
Reference in New Issue
Block a user