Fix k210 CLOCK_FREQ
This commit is contained in:
parent
ae751d62f2
commit
251758316f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ pub fn kernel_stack_position(app_id: usize) -> (usize, usize) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "board_k210")]
|
#[cfg(feature = "board_k210")]
|
||||||
pub const CLOCK_FREQ: usize = 10000000;
|
pub const CLOCK_FREQ: usize = 403000000 / 62;
|
||||||
|
|
||||||
#[cfg(feature = "board_qemu")]
|
#[cfg(feature = "board_qemu")]
|
||||||
pub const CLOCK_FREQ: usize = 12500000;
|
pub const CLOCK_FREQ: usize = 12500000;
|
Loading…
Add table
Add a link
Reference in a new issue