mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-12 19:10:32 +03:00
I2C - unify i2cUnstick implementation, improve unstick a bit (#13541)
* I2C - unify i2cUnstick implemntation, improve unstick a bit Three copies were spread in I2C implementations. - i2cUnstick is a bit more carefull about clock stretching - bus status is returned (return true when bus in idle state) * fixup! I2C - unify i2cUnstick implemntation, improve unstick a bit * fixup! I2C - unify i2cUnstick implemntation, improve unstick a bit --------- Co-authored-by: Petr Ledvina <ledvinap@hp124.ekotip.cz>
This commit is contained in:
parent
723cfe0da7
commit
76178a232f
6 changed files with 121 additions and 152 deletions
|
@ -19,6 +19,7 @@ COMMON_SRC = \
|
|||
drivers/bus.c \
|
||||
drivers/bus_i2c_config.c \
|
||||
drivers/bus_i2c_busdev.c \
|
||||
drivers/bus_i2c_utils.c \
|
||||
drivers/bus_i2c_soft.c \
|
||||
drivers/bus_octospi.c \
|
||||
drivers/bus_quadspi.c \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue