Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f32083a

Browse filesBrowse files
committed
Fix timerRestart
Closes: espressif#2944 Thanks @atanisoft
1 parent b30e55e commit f32083a
Copy full SHA for f32083a

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎cores/esp32/esp32-hal-timer.c

Copy file name to clipboardExpand all lines: cores/esp32/esp32-hal-timer.c
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ void timerStop(hw_timer_t *timer){
165165

166166
void timerRestart(hw_timer_t *timer){
167167
timer->dev->config.enable = 0;
168+
timer->dev->reload = 1;
168169
timer->dev->config.enable = 1;
169170
}
170171

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.