Skip to content

Commit

Permalink
Remove implementation of provided method (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani authored Nov 10, 2023
1 parent bde317e commit 6b0a16f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions esp-hal-common/src/uart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1018,14 +1018,6 @@ where
self.write_bytes(s.as_bytes())?;
Ok(())
}

#[inline]
fn write_char(&mut self, ch: char) -> Result<(), Self::Error> {
let mut buffer = [0u8; 4];
self.write_bytes(ch.encode_utf8(&mut buffer).as_bytes())?;

Ok(())
}
}

impl<T> core::fmt::Write for Uart<'_, T>
Expand Down

0 comments on commit 6b0a16f

Please sign in to comment.