forked from M-Labs/thermostat
init_log: bump max level to Debug for USB
This commit is contained in:
parent
1b4a030e7e
commit
12e713dc19
|
@ -4,7 +4,7 @@ use crate::usb;
|
||||||
pub fn init_log() {
|
pub fn init_log() {
|
||||||
static USB_LOGGER: usb::Logger = usb::Logger;
|
static USB_LOGGER: usb::Logger = usb::Logger;
|
||||||
let _ = log::set_logger(&USB_LOGGER);
|
let _ = log::set_logger(&USB_LOGGER);
|
||||||
log::set_max_level(log::LevelFilter::Trace);
|
log::set_max_level(log::LevelFilter::Debug);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "semihosting")]
|
#[cfg(feature = "semihosting")]
|
||||||
|
|
Loading…
Reference in New Issue