platforms: use define for lockstep scheduler

Instead of using the define __PX4_POSIX_SITL it makes more sense to have
a define just to determine if the lockstep scheduler should be used.
This commit is contained in:
Julian Oes
2018-12-09 12:22:49 +01:00
parent 73578a593f
commit 547dd8511b
8 changed files with 18 additions and 10 deletions
+1 -2
View File
@@ -98,5 +98,4 @@ if(REPLAY_FILE)
add_definitions(-DORB_USE_PUBLISHER_RULES)
endif()
add_definitions(-D__PX4_POSIX_SITL)
set(LOCKSTEP_SCHEDULER_NEEDED yes)
set(ENABLE_LOCKSTEP_SCHEDULER yes)
+2
View File
@@ -96,3 +96,5 @@ if(REPLAY_FILE)
message("Building with uorb publisher rules support")
add_definitions(-DORB_USE_PUBLISHER_RULES)
endif()
set(ENABLE_LOCKSTEP_SCHEDULER no)