mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-02-18 18:46:54 +00:00
From the ChibiOS HAL I2C driver pages: After a timeout the driver must be stopped and restarted because the bus is in an uncertain state. This commit does that stopping explicitly on any error that occurred, not only timeouts. As all the i2c functions restart the peripheral if necessary it is safe to do so. Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com> Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com> |
||
---|---|---|
.. | ||
arm_atsam | ||
avr | ||
chibios | ||
test | ||
atomic_util.h | ||
bootloader.h | ||
common.mk | ||
eeprom.h | ||
gpio.h | ||
hardware_id.h | ||
pin_defs.h | ||
progmem.h | ||
sleep_led.h | ||
suspend.c | ||
suspend.h | ||
synchronization_util.h | ||
timer.h | ||
wait.h |