From 435c49a13cadc2d6f4cc2f2374a168aaa9457c81 Mon Sep 17 00:00:00 2001 From: Kristoffer Richardsson Date: Fri, 15 Mar 2019 15:06:59 +0100 Subject: [PATCH] #405 Added missing arguments and added defines to travis build to make sure the code is built --- .travis.yml | 2 +- src/modules/src/system.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8ee933095f..29cb8d4816 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ script: # Build cf2 with "all" features enabled - docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/make clean - - docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=cf2 DEBUG=1 "EXTRA_CFLAGS=-DCALIBRATED_LED_MORSE -DIMU_TAKE_ACCEL_BIAS -DIMU_MPU6500_DLPF_256HZ -DMADWICK_QUATERNION_IMU -DDEBUG_QUEUE_MONITOR -DENABLE_BQ_DECK -DSITAW_ENABLED -DOW_WRITE_TEST -DOW_READ_TEST -DDEBUG_PRINT_ON_UART" + - docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build PLATFORM=cf2 DEBUG=1 "EXTRA_CFLAGS=-DCALIBRATED_LED_MORSE -DIMU_TAKE_ACCEL_BIAS -DIMU_MPU6500_DLPF_256HZ -DMADWICK_QUATERNION_IMU -DDEBUG_QUEUE_MONITOR -DENABLE_BQ_DECK -DSITAW_ENABLED -DOW_WRITE_TEST -DOW_READ_TEST -DDEBUG_PRINT_ON_UART -DENABLE_UART1 -DENABLE_UART2" # Build cf2 with bosch sensors - docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/make clean diff --git a/src/modules/src/system.c b/src/modules/src/system.c index 49da4f20bc..310d850531 100644 --- a/src/modules/src/system.c +++ b/src/modules/src/system.c @@ -148,10 +148,10 @@ void systemTask(void *arg) #endif #ifdef ENABLE_UART1 - uart1Init(); + uart1Init(9600); #endif #ifdef ENABLE_UART2 - uart2Init(); + uart2Init(115200); #endif //Init the high-levels modules