diff --git a/src/Globals.cpp b/src/Globals.cpp index 02ff5331..4003748f 100644 --- a/src/Globals.cpp +++ b/src/Globals.cpp @@ -286,7 +286,7 @@ IPAddress gateway; IPAddress subnet; IPAddress primaryDNS; IPAddress secondaryDNS; -const char *VERSION = "0.82"; +const char *VERSION = "0.81"; String MQTT_HOST = ""; uint16_t MQTT_PORT = 1883; diff --git a/src/PeripheryManager.cpp b/src/PeripheryManager.cpp index d72f762e..d21ce28a 100644 --- a/src/PeripheryManager.cpp +++ b/src/PeripheryManager.cpp @@ -384,9 +384,6 @@ void PeripheryManager_::setup() dfmp3.begin(); #endif photocell.setPhotocellPositionOnGround(false); - - ledcSetup(LEDC_CHANNEL, 2000, LEDC_RESOLUTION); // Start mit 2kHz - ledcAttachPin(BUZZER_PIN, LEDC_CHANNEL); } void PeripheryManager_::tick() @@ -476,6 +473,7 @@ long PeripheryManager_::readUptime() void PeripheryManager_::r2d2(const char *msg) { +#ifdef ULANZI for (int i = 0; msg[i] != '\0'; i++) { char c = msg[i]; @@ -483,4 +481,5 @@ void PeripheryManager_::r2d2(const char *msg) delay(baudRate + 10); } noTone(BUZZER_PIN); +#endif } \ No newline at end of file