refactor to use structured usb object

This commit is contained in:
bunnie 2024-06-03 17:04:47 +08:00
parent 9673624a4e
commit df6528edcf

View file

@ -636,7 +636,8 @@ pub fn early_init() {
#[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());