diff --git a/boards/px4/sitl/default.cmake b/boards/px4/sitl/default.cmake index f907bb676bc7540334bd8a22362757b0c72b84c3..c2fd0bfa09015c4bc10658d08ba6434c07b9e6f4 100644 --- a/boards/px4/sitl/default.cmake +++ b/boards/px4/sitl/default.cmake @@ -97,6 +97,9 @@ set(REPLAY_FILE "$ENV{replay}") if(REPLAY_FILE) message("Building with uorb publisher rules support") add_definitions(-DORB_USE_PUBLISHER_RULES) -endif() -set(ENABLE_LOCKSTEP_SCHEDULER yes) + message("Building without lockstep for replay") + set(ENABLE_LOCKSTEP_SCHEDULER no) +else() + set(ENABLE_LOCKSTEP_SCHEDULER yes) +endif() diff --git a/boards/px4/sitl/rtps.cmake b/boards/px4/sitl/rtps.cmake index 8b0514da448fdfd784e0f3ad402c629ff6bda339..266f0291b6e8836dc79ebefadd80ba39e102ba06 100644 --- a/boards/px4/sitl/rtps.cmake +++ b/boards/px4/sitl/rtps.cmake @@ -98,6 +98,9 @@ set(REPLAY_FILE "$ENV{replay}") if(REPLAY_FILE) message("Building with uorb publisher rules support") add_definitions(-DORB_USE_PUBLISHER_RULES) -endif() -set(ENABLE_LOCKSTEP_SCHEDULER yes) + message("Building without lockstep for replay") + set(ENABLE_LOCKSTEP_SCHEDULER no) +else() + set(ENABLE_LOCKSTEP_SCHEDULER yes) +endif() diff --git a/boards/px4/sitl/test.cmake b/boards/px4/sitl/test.cmake index ba6268150ee6392adcd2bc1030d7e8f101a73eb8..3918af8166edb98e18ce37fe87cb9d0526ca9bb3 100644 --- a/boards/px4/sitl/test.cmake +++ b/boards/px4/sitl/test.cmake @@ -99,4 +99,5 @@ if(REPLAY_FILE) add_definitions(-DORB_USE_PUBLISHER_RULES) endif() +message("Building without lockstep for test") set(ENABLE_LOCKSTEP_SCHEDULER no)