diff --git a/.travis.yml b/.travis.yml index 0ef6dbf..6514f23 100644 --- a/.travis.yml +++ b/.travis.yml @@ -54,7 +54,7 @@ script: - if [ "$MODE" = "LINUX" ]; then make; fi - if [ "$MODE" = "ARDUINO" ]; then buildExampleSketch knx-demo; fi - if [ "$MODE" = "ARDUINO" ]; then buildExampleSketch knx-sonoffS20; fi - #- if [ "$MODE" = "ARDUINO" ]; then buildExampleSketch knx-bme680; fi + - if [ "$MODE" = "ARDUINO" ]; then buildExampleSketch knx-bme680; fi - if [ "$MODE" = "ARDUINO" ]; then buildExampleSketch knx-hdc1008; fi notifications: diff --git a/examples/knx-bme680/knx-bme680.ino b/examples/knx-bme680/knx-bme680.ino index 366a378..0aa86b0 100644 --- a/examples/knx-bme680/knx-bme680.ino +++ b/examples/knx-bme680/knx-bme680.ino @@ -247,8 +247,8 @@ void updateState(void) void triggerCallback(GroupObject& go) { Serial.println("trigger"); - Serial.println(go.value().boolValue()); - if (!go.value().boolValue()) + Serial.println((bool)go.value()); + if (!go.value()) return; trigger = true;