mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
refactor to use structured usb object
This commit is contained in:
parent
9673624a4e
commit
df6528edcf
1 changed files with 2 additions and 1 deletions
|
|
@ -636,7 +636,8 @@ pub fn early_init() {
|
||||||
|
|
||||||
#[cfg(feature = "usb-test")]
|
#[cfg(feature = "usb-test")]
|
||||||
{
|
{
|
||||||
crate::platform::usb_test::usb_test();
|
let mut usb = crate::platform::usb_test::CorigineUsb::new();
|
||||||
|
usb.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
udma_uart.write("Press any key to continue...".as_bytes());
|
udma_uart.write("Press any key to continue...".as_bytes());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue