From a82758bc3e168b204db598817586cfeb023513b2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 13 Aug 2022 13:11:43 +1000 Subject: [PATCH] waf: allow opendroneid on sitl on cygwin and macos should be now with the structure changes --- Tools/ardupilotwaf/boards.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index eb5968fe51..a1f3c46a5e 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -575,9 +575,7 @@ class sitl(Board): cfg.define('HAL_WITH_SPI', 1) cfg.define('HAL_WITH_RAMTRON', 1) cfg.define('AP_GENERATOR_RICHENPOWER_ENABLED', 1) - if Utils.unversioned_sys_platform() != 'cygwin' and sys.platform != 'darwin': - # enable OpenDroneID, but not on cygwin or macos due to compiler version used - cfg.define('AP_OPENDRONEID_ENABLED', 1) + cfg.define('AP_OPENDRONEID_ENABLED', 1) if self.with_can: cfg.define('HAL_NUM_CAN_IFACES', 2)