We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e662f2d commit 8750088Copy full SHA for 8750088
cores/esp8266/core_esp8266_waveform.cpp
@@ -563,11 +563,9 @@ static IRAM_ATTR void timer1Interrupt() {
563
else {
564
do {
565
// Drop the pin at this edge
566
- if (pwmState.mask & (1 << pwmState.pin[pwmState.idx])) {
567
- GPOC = 1 << pwmState.pin[pwmState.idx];
568
- if (pwmState.pin[pwmState.idx] == 16) {
569
- GP16O = 0;
570
- }
+ GPOC = 1 << pwmState.pin[pwmState.idx];
+ if (pwmState.pin[pwmState.idx] == 16) {
+ GP16O = 0;
571
}
572
pwmState.idx++;
573
// Any other pins at this same PWM value will have delta==0, drop them too.
0 commit comments