Skip to content
Snippets Groups Projects
Commit f724aded authored by Per Lindgren's avatar Per Lindgren
Browse files

cleaning

parent 537b53f2
Branches
No related tags found
No related merge requests found
......@@ -17,16 +17,13 @@ fn main() {
let peripherals = Peripherals::take().unwrap();
let mut dwt = peripherals.DWT;
dwt.enable_cycle_counter();
// unsafe {
// dwt.ctrl.write(0);
// }
// if dwt.ctrl.read() == 0 {
// if dwt.ctrl.read() == 0 {
// klee::abort();
// };
// };
unsafe {
dwt.ctrl.write(0);
}
if dwt.ctrl.read() == 0 {
if dwt.ctrl.read() == 0 {
klee::abort();
};
};
// unsafe {
// ptr::read_volatile(&dwt);
// }
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment