Skip to content

Commit f18a251

Browse files
authored
min. 40 Hz
1 parent c4b32aa commit f18a251

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/esp8266/core_esp8266_wiring_pwm.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ extern void __analogWriteResolution(int res) {
4141
}
4242

4343
extern void __analogWriteFreq(uint32_t freq) {
44-
if (freq < 100) {
45-
freq = 100;
44+
if (freq < 40) {
45+
freq = 40;
4646
} else if (freq > 60000) {
4747
freq = 60000;
4848
} else {

0 commit comments

Comments
 (0)