commit:dd67fd73971090b3fc06941cd5ccd38257fc539e
author:Chip
committer:Chip
date:Mon Oct 2 00:22:27 2023 -0500
parents:216019724c599d986037f7e1971255e80a1dff28
Remove old test code
diff --git a/src/main.rs b/src/main.rs
line changes: +0/-24
index 172a345..aca3dbc
--- a/src/main.rs
+++ b/src/main.rs
@@ -34,30 +34,6 @@ fn main() -> ! {
     let ticks = timer::ticks();
     kprintf!("Kernel started: {} ticks\r\n", ticks);
 
-    /*
-    timer::schedule(1000, true, || {
-        with_peripherals(|p| p.led().set_high().unwrap());
-        match with_usb(|u| u.keyboard().device().write_report([Keyboard::Keyboard8])) {
-            Err(UsbHidError::WouldBlock) => {}
-            Err(UsbHidError::Duplicate) => {}
-            Ok(_) => {}
-            Err(e) => core::panic!("Failed to write keyboard report: {:?}", e),
-        }
-        let ticks = with_peripherals(|p| p.timer().get_counter().ticks());
-        kprintf!("{} ticks\r\n", ticks);
-        timer::schedule(10, false, || {
-            with_usb(|u| {
-                u.keyboard()
-                    .device()
-                    .write_report([Keyboard::NoEventIndicated])
-            })
-            .ok();
-            with_peripherals(|p| p.led().set_low().unwrap());
-        }).expect("could not schedule key up");
-    })
-    .expect("could not schedule");
-    */
-
     with_task_manager(|tm| {
         tm.add_task(apps::shell::shell, &[CapType::ConsoleRead, CapType::ConsoleWrite], 0).expect("launch task one");
     });