This commit is contained in:
Thomas Kunze 2019-06-12 21:33:33 +02:00
parent ea88945f18
commit ce190a44e4
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ script:
- if [ "$MODE" = "LINUX" ]; then make; fi - if [ "$MODE" = "LINUX" ]; then make; fi
- if [ "$MODE" = "ARDUINO" ]; then buildExampleSketch knx-demo; fi - if [ "$MODE" = "ARDUINO" ]; then buildExampleSketch knx-demo; fi
- if [ "$MODE" = "ARDUINO" ]; then buildExampleSketch knx-sonoffS20; 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 - if [ "$MODE" = "ARDUINO" ]; then buildExampleSketch knx-hdc1008; fi
notifications: notifications:

View File

@ -247,8 +247,8 @@ void updateState(void)
void triggerCallback(GroupObject& go) void triggerCallback(GroupObject& go)
{ {
Serial.println("trigger"); Serial.println("trigger");
Serial.println(go.value().boolValue()); Serial.println((bool)go.value());
if (!go.value().boolValue()) if (!go.value())
return; return;
trigger = true; trigger = true;