mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-10-02 22:55:26 +00:00
Use one more bit for bus clearing (#3696)
This commit is contained in:
parent
d91806197d
commit
5c0469d98c
@ -2802,7 +2802,7 @@ mod bus_clear {
|
||||
|
||||
impl<'a> ClearBusFuture<'a> {
|
||||
// Number of SCL pulses to clear the bus
|
||||
const BUS_CLEAR_BITS: u8 = 9;
|
||||
const BUS_CLEAR_BITS: u8 = 10;
|
||||
|
||||
pub fn new(driver: Driver<'a>) -> Self {
|
||||
let mut this = Self { driver };
|
||||
|
Loading…
x
Reference in New Issue
Block a user