Skip to content

Commit e6d122f

Browse files
committed
fix(pwm): Modify PWM TICKS3 to reduce CPU cost
1 parent a38e575 commit e6d122f

File tree

1 file changed

+1
-1
lines changed
  • components/esp8266/driver

1 file changed

+1
-1
lines changed

components/esp8266/driver/pwm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static const char *TAG = "pwm";
4949
#define AHEAD_TICKS0 0
5050
#define AHEAD_TICKS1 6
5151
#define AHEAD_TICKS2 8
52-
#define AHEAD_TICKS3 20
52+
#define AHEAD_TICKS3 2
5353
#define MAX_TICKS 10000000ul
5454

5555
#define WDEVTSF0_TIME_LO 0x3ff21004

0 commit comments

Comments
 (0)