qmk_firmware/platforms/chibios
Stefan Kerkmann 083b42068a
Chibios: Stop I2C peripheral on transaction error (#17798)
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>
2022-07-26 21:40:14 +02:00
..
boards Use Pro Micro pinout for SDA/SCL (#17595) 2022-07-20 18:24:34 +01:00
bootloaders [Core] Use polled waiting on ChibiOS platforms that support it (#17607) 2022-07-11 15:17:05 +02:00
converters Add Blok 2040 conversion (#17603) 2022-07-21 00:54:05 +01:00
drivers Chibios: Stop I2C peripheral on transaction error (#17798) 2022-07-26 21:40:14 +02:00
vendors/RP RP2040 emulated EEPROM. (#17519) 2022-07-02 15:18:50 +10:00
_pin_defs.h [Core] Add Raspberry Pi RP2040 support (#14877) 2022-06-30 13:19:27 +02:00
_timer.h
_wait.c
_wait.h [Fix] Make ChibiOS _wait.h independent of quantum.h (#17645) 2022-07-12 21:54:33 +02:00
atomic_util.h
chibios_config.h Allow MCU-specific overrides for SPI flags. (#17650) 2022-07-13 14:42:24 +10:00
flash.mk [Core] Add Raspberry Pi RP2040 support (#14877) 2022-06-30 13:19:27 +02:00
gd32v_compatibility.h
gpio.h
hardware_id.c
platform.c
platform.mk [Core] Update mpaland/printf to eyalroz/printf fork (#16163) 2022-07-07 09:27:50 +02:00
platform_deps.h
sleep_led.c
suspend.c
synchronization_util.c
syscall-fallbacks.c
timer.c
wait.c