Update from previous chapters.

This commit is contained in:
Yifan Wu 2021-01-06 00:19:10 +08:00
parent 3851c2d561
commit c33c0f8aea
7 changed files with 31 additions and 21 deletions

View file

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