From ce190a44e447c63895c03b9c09f52e7a749be1c5 Mon Sep 17 00:00:00 2001 From: Thomas Kunze Date: Wed, 12 Jun 2019 21:33:33 +0200 Subject: [PATCH] . --- .travis.yml | 2 +- examples/knx-bme680/knx-bme680.ino | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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;