qmk-firmware/platforms
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
..
arm_atsam [Core] Update mpaland/printf to eyalroz/printf fork (#16163) 2022-07-07 09:27:50 +02:00
avr Include stdint.h in avr/i2c_master.h (#17639) 2022-07-12 21:55:19 +02:00
chibios Chibios: Stop I2C peripheral on transaction error (#17798) 2022-07-26 21:40:14 +02:00
test Rework paths for eeprom locations. (#17326) 2022-06-08 09:42:35 +10:00
atomic_util.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
bootloader.h [Core] Add Reboot keycode to core (#15990) 2022-05-14 13:35:49 +10:00
common.mk Expose API for hardware unique ID (#16869) 2022-04-18 20:51:40 +10:00
eeprom.h Wear-leveling EEPROM drivers: embedded_flash, spi_flash, legacy (#17376) 2022-06-30 07:42:23 +10:00
gpio.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
hardware_id.h Expose API for hardware unique ID (#16869) 2022-04-18 20:51:40 +10:00
pin_defs.h Redo workaround for pin_def errors on KINETIS (#16620) 2022-03-11 18:50:59 +00:00
progmem.h Remove use of __flash due to LTO issues (#15268) 2021-11-24 18:38:49 +11:00
sleep_led.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
suspend.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
suspend.h Remove unused suspend_idle (#16063) 2022-01-26 14:57:28 -08:00
synchronization_util.h [Fix] Fix compilation warning for non-split keebs after #17423 (#17439) 2022-06-21 09:31:20 +10:00
timer.h Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
wait.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00