Unverified Commit a5932064 authored by P-R-O-C-H-Y's avatar P-R-O-C-H-Y Committed by GitHub

Fixing interrupts in LEDC (#6160)

Fixes: #6140
parent a45790b2
......@@ -168,6 +168,8 @@ void ledcAttachPin(uint8_t pin, uint8_t chan)
.hpoint = 0
};
ledc_channel_config(&ledc_channel);
pinMode(pin,OUTPUT);
}
void ledcDetachPin(uint8_t pin)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment