Fix k210 CLOCK_FREQ

This commit is contained in:
Yifan Wu 2021-01-26 15:32:51 +08:00
parent ae751d62f2
commit 251758316f

View file

@ -15,7 +15,7 @@ pub fn kernel_stack_position(app_id: usize) -> (usize, usize) {
}
#[cfg(feature = "board_k210")]
pub const CLOCK_FREQ: usize = 10000000;
pub const CLOCK_FREQ: usize = 403000000 / 62;
#[cfg(feature = "board_qemu")]
pub const CLOCK_FREQ: usize = 12500000;