forked from M-Labs/artiq
firmware: fix typo in UART logger
This commit is contained in:
parent
2b7d98eb04
commit
b860302a9a
|
@ -9,7 +9,7 @@ pub struct ConsoleLogger;
|
||||||
impl ConsoleLogger {
|
impl ConsoleLogger {
|
||||||
pub fn register() {
|
pub fn register() {
|
||||||
static LOGGER: ConsoleLogger = ConsoleLogger;
|
static LOGGER: ConsoleLogger = ConsoleLogger;
|
||||||
set_logger(&LOGGER).expect("global logger can only be initialized once")
|
set_logger(&LOGGER).expect("global logger can only be initialized once");
|
||||||
set_max_level(LevelFilter::Trace);
|
set_max_level(LevelFilter::Trace);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue