Skip to content

Commit 09a60f8

Browse files
committed
usb_gadget.rs: increase UDC name to info logging
This is too important information to be left out with the debug flag. Also, it doesn't produce a lot of output, so it won't clog the regular log.
1 parent 1553fbb commit 09a60f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/usb_gadget.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ impl UsbGadgetState {
6767
if let Ok(entries) = fs::read_dir(&udc_dir) {
6868
for entry in entries {
6969
if let Ok(entry) = entry {
70-
debug!("Using UDC: {:?}", entry.file_name());
70+
info!("Using UDC: {:?}", entry.file_name());
7171
if let Ok(fname) = entry.file_name().into_string() {
7272
state.udc_name.push_str(fname.as_str());
7373
break;

0 commit comments

Comments
 (0)