Skip to content
Snippets Groups Projects
Commit c6ccd5b0 authored by Federico Lolli's avatar Federico Lolli
Browse files

[TimestampTimer] fixed TIM2 peripheral clock for STM32L4

parent df963513
Branches
Tags
No related merge requests found
......@@ -45,7 +45,7 @@ GP32bitTimer TimestampTimer::initTimestampTimer()
{
miosix::FastInterruptDisableLock dLock;
// Enable TIM2 peripheral clock
RCC->APB1ENR |= RCC_APB1ENR_TIM2EN;
RCC->APB1ENR1 |= RCC_APB1ENR1_TIM2EN;
}
timer.reset();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment