Fixed behavior of rcc_peripheral_clear_reset...
This commit is contained in:
parent
3c12fc6cd3
commit
d1e5a5069e
|
@ -243,7 +243,7 @@ void rcc_peripheral_reset(volatile u32 *reg, u32 reset)
|
||||||
|
|
||||||
void rcc_peripheral_clear_reset(volatile u32 *reg, u32 clear_reset)
|
void rcc_peripheral_clear_reset(volatile u32 *reg, u32 clear_reset)
|
||||||
{
|
{
|
||||||
*reg |= clear_reset;
|
*reg &= ~clear_reset;
|
||||||
}
|
}
|
||||||
|
|
||||||
void rcc_set_sysclk_source(u32 clk)
|
void rcc_set_sysclk_source(u32 clk)
|
||||||
|
|
Loading…
Reference in New Issue