revert wrongly commit.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2408 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
f78a50883b
commit
6ae9a5d95c
|
@ -189,7 +189,6 @@ reset:
|
|||
|
||||
/* set interrupt vector */
|
||||
ldr r0, _load_address
|
||||
ldr r0, [r0]
|
||||
mov r1, #0x0 /* target address */
|
||||
add r2, r0, #0x20 /* size, 32bytes */
|
||||
|
||||
|
|
|
@ -72,14 +72,12 @@ void rt_hw_get_clock(void)
|
|||
else
|
||||
HCLK = FCLK/3;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(p)
|
||||
PCLK = HCLK>>1;
|
||||
else
|
||||
PCLK = HCLK;
|
||||
|
||||
rt_kprintf("FCLK: %dM, HCLK: %dM, PCLK: %dM\n", FCLK/1000000, HCLK/1000000, PCLK/1000000);
|
||||
}
|
||||
|
||||
void rt_hw_set_mpll_clock(rt_uint8_t sdiv, rt_uint8_t pdiv, rt_uint8_t mdiv)
|
||||
|
|
Loading…
Reference in New Issue