diff options
-rw-r--r-- | src/drivers/boards/px4io-v1/module.mk | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/drivers/boards/px4io-v1/module.mk b/src/drivers/boards/px4io-v1/module.mk index 52f17f3f2..40c79da4e 100644 --- a/src/drivers/boards/px4io-v1/module.mk +++ b/src/drivers/boards/px4io-v1/module.mk @@ -3,12 +3,7 @@ # SRCS = px4io_init.c \ - px4io_pwm_servo.c - -ENABLE_CXXINITIALIZE=$(call check_nuttx_config ,"CONFIG_HAVE_CXX 1", $(NUTTX_CONFIG_H)) -ENABLE_CXXINITIALIZE+=$(call check_nuttx_config ,"CONFIG_HAVE_CXXINITIALIZE 1", $(NUTTX_CONFIG_H)) -ifeq ("$(ENABLE_CXXINITIALIZE)",$(nuttx_config_2true)) -SRCS += ../../../modules/systemlib/up_cxxinitialize.c -endif + px4io_pwm_servo.c \ + ../../../modules/systemlib/up_cxxinitialize.c MAXOPTIMIZATION = -Os |