setup but not working
This commit is contained in:
@@ -6,6 +6,8 @@ extern crate alloc;
|
||||
use alloc::vec::Vec;
|
||||
|
||||
use foundry_os::{println, println_log};
|
||||
use lib_async::task::{Executor, Task};
|
||||
use lib_keyboard::print_keypresses;
|
||||
|
||||
#[no_mangle]
|
||||
unsafe extern "C" fn kmain() -> ! {
|
||||
@@ -46,5 +48,9 @@ unsafe extern "C" fn kmain() -> ! {
|
||||
"
|
||||
);
|
||||
|
||||
let mut executor = Executor::new();
|
||||
executor.spawn(Task::new(print_keypresses()));
|
||||
executor.try_run();
|
||||
|
||||
loop {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user