mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
Update Hardware_PWM.cpp
This commit is contained in:
@@ -178,6 +178,7 @@ uint32_t analogWriteESP32(int pin, int value, uint32_t frequency)
|
||||
|
||||
if (value == 0) {
|
||||
detachLedChannel(pin);
|
||||
lastPin = -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user