mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 02:16:53 +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(ENABLE_LOCKSTEP_SCHEDULER)
|
||||||
|
|
||||||
#if defined(__PX4_WINDOWS)
|
#if defined(__PX4_WINDOWS)
|
||||||
|
|
||||||
// Windows-only: winpthreads occasionally drops pthread_cond_broadcast
|
// Windows-only: winpthreads occasionally drops pthread_cond_broadcast
|
||||||
// wakes, so explicitly hand back lockstep progress after each Run()
|
// wakes, so explicitly hand back lockstep progress after each Run()
|
||||||
// pass to keep the simulator advancing even if the broadcast that
|
// pass to keep the simulator advancing even if the broadcast that
|
||||||
|
|||||||
Reference in New Issue
Block a user