Skip to content

Commit 8547008

Browse files
committed
Initial version of Soft_RNG library - v1.0
1 parent 9bc2a71 commit 8547008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/Soft_RNG.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ static void TIM2_Init(void)
66
{
77
RCC->APB1ENR |= RCC_APB1ENR_TIM2EN;
88
TIM2->CR1 &= ~TIM_CR1_DIR;
9-
TIM2->PSC = 15;
9+
TIM2->PSC = 1;
1010
TIM2->ARR = 0xFFFFFFFF;
1111
TIM2->CR1 |= TIM_CR1_CEN;
1212
}

0 commit comments

Comments
 (0)