Skip to content

Commit 91c7c10

Browse files
committed
Merge branch 'feature/modify_pwm_ticks' into 'master'
Modify PWM TICKS3 to reduce CPU cost See merge request sdk/ESP8266_RTOS_SDK!714
2 parents a38e575 + e6d122f commit 91c7c10

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)