Ups frequency to 80Mhz : unstable behaviour
This commit is contained in:
@@ -24,7 +24,7 @@ pub extern "C" fn main() -> !
|
||||
let clint_time: *mut u64 = 0x0200bff8 as *mut u64;
|
||||
|
||||
let clocks = *clint_time;
|
||||
let seconds = clocks / (125_000_000 / 2);
|
||||
let seconds = clocks / 80_000_000;
|
||||
VGA::draw_string(100, 10, "CLint:", BLUE);
|
||||
VGA::draw_u64(150, 10, clocks, BLUE, BLACK);
|
||||
VGA::draw_string(100, 23, "(s)", BLUE);
|
||||
|
||||
Reference in New Issue
Block a user