From 16c10cfd82e8a3a4764fbcfe77dd7129015c84af Mon Sep 17 00:00:00 2001 From: Nuno Marques Date: Fri, 8 May 2026 14:16:07 -0700 Subject: [PATCH] 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 --- platforms/common/px4_work_queue/WorkQueue.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/platforms/common/px4_work_queue/WorkQueue.cpp b/platforms/common/px4_work_queue/WorkQueue.cpp index 0ee2085083..e74aa2391c 100644 --- a/platforms/common/px4_work_queue/WorkQueue.cpp +++ b/platforms/common/px4_work_queue/WorkQueue.cpp @@ -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