You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
arm_atsam [Core] Update mpaland/printf to eyalroz/printf fork (#16163) 3 years ago
avr Include stdint.h in avr/i2c_master.h (#17639) 3 years ago
chibios Chibios: Stop I2C peripheral on transaction error (#17798) 3 years ago
test Rework paths for eeprom locations. (#17326) 4 years ago
atomic_util.h Move tmk_core/common/<plat> (#13918) 4 years ago
bootloader.h [Core] Add Reboot keycode to core (#15990) 4 years ago
common.mk Expose API for hardware unique ID (#16869) 4 years ago
eeprom.h Wear-leveling EEPROM drivers: `embedded_flash`, `spi_flash`, `legacy` (#17376) 3 years ago
gpio.h Move tmk_core/common/<plat> (#13918) 4 years ago
hardware_id.h Expose API for hardware unique ID (#16869) 4 years ago
pin_defs.h Redo workaround for pin_def errors on KINETIS (#16620) 4 years ago
progmem.h Remove use of __flash due to LTO issues (#15268) 4 years ago
sleep_led.h Move tmk_core/common/<plat> (#13918) 4 years ago
suspend.c Format code according to conventions (#16322) 4 years ago
suspend.h Remove unused suspend_idle (#16063) 4 years ago
synchronization_util.h [Fix] Fix compilation warning for non-split keebs after #17423 (#17439) 4 years ago
timer.h Format code according to conventions (#16322) 4 years ago
wait.h Move tmk_core/common/<plat> (#13918) 4 years ago