From 7b697c09188e8e2abd4c251aaae091bc41dd6096 Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 14 Jan 2026 03:08:41 +0800 Subject: [PATCH] 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. --- bao1x-boot/boot1/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/bao1x-boot/boot1/src/main.rs b/bao1x-boot/boot1/src/main.rs index 76e937fa2..9ec98e90e 100644 --- a/bao1x-boot/boot1/src/main.rs +++ b/bao1x-boot/boot1/src/main.rs @@ -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 {