mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
Merge pull request #784 from betrusted-io/fix-console
enable USB console by default
This commit is contained in:
commit
8993f43712
1 changed files with 4 additions and 0 deletions
|
|
@ -15,6 +15,10 @@ fn main() {
|
|||
let tt = ticktimer::Ticktimer::new().unwrap();
|
||||
shell::start_shell();
|
||||
|
||||
tt.sleep_ms(500).ok(); // pause for the system to startup
|
||||
let usb = usb_bao1x::UsbHid::new();
|
||||
usb.serial_console_input_injection();
|
||||
|
||||
tt.sleep_ms(4000).ok();
|
||||
|
||||
#[cfg(all(feature = "board-baosec", feature = "test-flash"))]
|
||||
|
|
|
|||
Loading…
Reference in a new issue