Skip to content
Permalink
Browse files

Fix timerRestart

Closes: #2944

Thanks @atanisoft
  • Loading branch information...
me-no-dev committed Sep 24, 2019
1 parent b30e55e commit f32083a6d0afad8efc4d52b11091ccf55249dc29
Showing with 1 addition and 0 deletions.
  1. +1 −0 cores/esp32/esp32-hal-timer.c
@@ -165,6 +165,7 @@ void timerStop(hw_timer_t *timer){

void timerRestart(hw_timer_t *timer){
timer->dev->config.enable = 0;
timer->dev->reload = 1;
timer->dev->config.enable = 1;
}

0 comments on commit f32083a

Please sign in to comment.
You can’t perform that action at this time.