mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-10-02 14:44:42 +00:00
Use one more bit for bus clearing (#3696)
This commit is contained in:
parent
d91806197d
commit
5c0469d98c
2
.github/workflows/documentation.yml
vendored
2
.github/workflows/documentation.yml
vendored
@ -185,4 +185,4 @@ jobs:
|
|||||||
- name: Install cargo-docs-rs
|
- name: Install cargo-docs-rs
|
||||||
run: cargo install cargo-docs-rs --locked
|
run: cargo install cargo-docs-rs --locked
|
||||||
- name: Run cargo-docs-rs
|
- name: Run cargo-docs-rs
|
||||||
run: cd esp-hal && cargo docs-rs
|
run: cd esp-hal && cargo docs-rs
|
||||||
|
@ -2802,7 +2802,7 @@ mod bus_clear {
|
|||||||
|
|
||||||
impl<'a> ClearBusFuture<'a> {
|
impl<'a> ClearBusFuture<'a> {
|
||||||
// Number of SCL pulses to clear the bus
|
// 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 {
|
pub fn new(driver: Driver<'a>) -> Self {
|
||||||
let mut this = Self { driver };
|
let mut this = Self { driver };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user