From 7177472ea6e9551e3ac055604003eaddeea920ca Mon Sep 17 00:00:00 2001 From: Simon Schmidt Date: Mon, 5 Jul 2021 21:32:37 +0200 Subject: [PATCH] small updates to treppe --- lib/treppe/treppe.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/treppe/treppe.cpp b/lib/treppe/treppe.cpp index a79dbd3..2bfa2d5 100644 --- a/lib/treppe/treppe.cpp +++ b/lib/treppe/treppe.cpp @@ -283,6 +283,7 @@ void Treppe::set_idle_pwm(uint16_t new_idle_pwm) Serial.printf("Treppe: idle_pwm=%d\n", idle_pwm); berechne_dimmer(); activate_idle_pwm(true); + activate_idle_pwm(false); // well :) } void Treppe::activate_idle_pwm(bool active)