Fixup display -> debug
This commit is contained in:
parent
5ddee8586a
commit
89986fe967
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ impl<'d, T: Instance + 'd, M: Mode> I2c<'d, T, M> {
|
||||||
let mut me = Self { phantom: PhantomData };
|
let mut me = Self { phantom: PhantomData };
|
||||||
|
|
||||||
if let Err(e) = me.set_config_inner(&config) {
|
if let Err(e) = me.set_config_inner(&config) {
|
||||||
panic!("Error configuring i2c: {}", e);
|
panic!("Error configuring i2c: {:?}", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
me
|
me
|
||||||
|
|
Loading…
Reference in a new issue