Skip to content

Commit

Permalink
Disabled NodeManager's debug output when running a serial gateway (my…
Browse files Browse the repository at this point in the history
  • Loading branch information
user2684 authored Jul 19, 2018
1 parent 4508de3 commit 1020a3b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,21 @@ install:
jobs:
include:
- stage: build
name: "Base Sketch"
name: "Empty Sketch (NRF24 radio)"
script:
- eval $RUN
- name: "All features ON"
- name: "Empty Sketch (RFM69 radio)"
script:
- sed -r -i 's/(#define MY_RADIO_NRF24)/\/\/\1/' $PWD/$SKETCH
- sed -r -i 's/\/\/(#define MY_RADIO_RFM69)/\1/' $PWD/$SKETCH
- sed -r -i 's/\/\/(#define MY_IS_RFM69HW)/\1/' $PWD/$SKETCH
- sed -r -i 's/\/\/(#define MY_RFM69_NEW_DRIVER)/\1/' $PWD/$SKETCH
- eval $RUN
- name: "Gateway Serial"
script:
- sed -r -i 's/\/\/(#define MY_GATEWAY_SERIAL)/\1/' $PWD/$SKETCH
- eval $RUN
- name: "Features"
script:
- arduino --install-library "DS3232RTC,Time"
- sed -r -i s/OFF/ON/g $PWD/$SKETCH
Expand Down
1 change: 1 addition & 0 deletions NodeManagerLibrary.h
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@
// include third party libraries for enabled features
#ifdef MY_GATEWAY_SERIAL
#define FEATURE_SLEEP OFF
#define FEATURE_DEBUG OFF
#endif
#if FEATURE_TIME == ON
#include <TimeLib.h>
Expand Down

0 comments on commit 1020a3b

Please sign in to comment.