Skip to content

Commit

Permalink
#405 Added missing arguments and added defines to travis build to mak…
Browse files Browse the repository at this point in the history
…e sure the code is built
  • Loading branch information
krichardsson committed Mar 15, 2019
1 parent 07b7594 commit 435c49a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/modules/src/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 435c49a

Please sign in to comment.