Add dependencies on crossbeam and conquer_once to define a SCANCODE_QUEUE

This commit is contained in:
Philipp Oppermann
2020-03-27 13:14:57 +01:00
parent 629fe0fdec
commit 71b10a70df
4 changed files with 62 additions and 0 deletions

4
src/task/keyboard.rs Normal file
View File

@@ -0,0 +1,4 @@
use conquer_once::spin::OnceCell;
use crossbeam_queue::ArrayQueue;
static SCANCODE_QUEUE: OnceCell<ArrayQueue<u8>> = OnceCell::uninit();