diff options
author | Brian Cully <bjc@kublai.com> | 2019-09-26 08:58:28 -0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2019-09-26 09:00:26 -0400 |
commit | 4e8ce911eb4cb2d7fd283bce17b48ce222baf92a (patch) | |
tree | d539eb386ba47fa0ed76397171658fdcfd639435 | |
parent | 71364c8336edaf45071e3775d07f291b6fecd41d (diff) | |
download | bootkbd-4e8ce911eb4cb2d7fd283bce17b48ce222baf92a.tar.gz bootkbd-4e8ce911eb4cb2d7fd283bce17b48ce222baf92a.zip |
Put missing log level change back.
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,7 +2,7 @@ #![no_std] -use log::{self, debug, error, info, trace, warn, LevelFilter}; +use log::{self, error, info, trace, warn, LevelFilter}; use usb_host::{ ConfigurationDescriptor, DescriptorType, DeviceDescriptor, Direction, Driver, DriverError, Endpoint, EndpointDescriptor, InterfaceDescriptor, RequestCode, RequestDirection, RequestKind, @@ -326,6 +326,8 @@ impl Device { // If we made it this far, thins should be ok, so // throttle the logging. + log::set_max_level(LevelFilter::Info); + self.state = DeviceState::Running } else { return Err(TransferError::Permanent("no boot keyboard")); } |