forked from M-Labs/artiq
1
0
Fork 0

firmware: fix typo in UART logger

This commit is contained in:
Chris Ballance 2018-05-28 18:14:22 +01:00 committed by whitequark
parent 2b7d98eb04
commit b860302a9a
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }
} }