mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
add note to serial console that console has moved to USB
this makes it clear that when USB is plugged in, the console session on the hard serial port migrates to the USB serial port.
This commit is contained in:
parent
d1d0998800
commit
7b697c0918
1 changed files with 1 additions and 0 deletions
|
|
@ -246,6 +246,7 @@ pub unsafe extern "C" fn rust_entry() -> ! {
|
|||
crate::println_d!("new state {:?}", new_usb_state);
|
||||
if new_usb_state == UsbDeviceState::Configured {
|
||||
crate::println!("USB is connected!");
|
||||
crate::println!("Console moved to USB serial");
|
||||
last_usb_state = new_usb_state;
|
||||
USB_CONNECTED.store(true, core::sync::atomic::Ordering::SeqCst);
|
||||
if let Some(ref mut sh1107) = oled {
|
||||
|
|
|
|||
Loading…
Reference in a new issue