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
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
hardware_id.h Expose API for hardware unique ID (#16869) 2022-04-18 20:51:40 +10:00
pin_defs.h
progmem.h
sleep_led.h
suspend.c
suspend.h
synchronization_util.h [Fix] Fix compilation warning for non-split keebs after #17423 (#17439) 2022-06-21 09:31:20 +10:00
timer.h
wait.h