From 566a43f2e841b0978e2e321933a2eb0dd1524478 Mon Sep 17 00:00:00 2001 From: Florian <1technophile@users.noreply.github.com> Date: Wed, 21 Mar 2018 22:19:27 +0100 Subject: [PATCH] using wrong compiler condition statement #186 --- ZgatewayBT.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ZgatewayBT.ino b/ZgatewayBT.ino index 50cf28a..c1144ef 100644 --- a/ZgatewayBT.ino +++ b/ZgatewayBT.ino @@ -122,7 +122,7 @@ Thanks to wolass https://github.com/wolass for suggesting me HM 10 and dinosd ht NULL, /* Task handle. */ taskCore); /* Core where the task should run */ trc(F("ZgatewayBT multicore ESP32 setup done ")); - #elif + #else trc(F("ZgatewayBT singlecore ESP32 setup done ")); #endif } @@ -144,7 +144,7 @@ Thanks to wolass https://github.com/wolass for suggesting me HM 10 and dinosd ht BLEScanResults foundDevices = pBLEScan->start(Scan_duration); } } - #elif + #else boolean BTtoMQTT(){ unsigned long now = millis(); if (now > (timeBLE + TimeBtw_Read)) {//retriving value of temperature and humidity of the box from DHT every xUL