083b42068a
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> |
||
---|---|---|
.. | ||
eeprom | ||
flash | ||
ps2 | ||
vendor/RP/RP2040 | ||
wear_leveling | ||
analog.c | ||
analog.h | ||
audio_dac.h | ||
audio_dac_additive.c | ||
audio_dac_basic.c | ||
audio_pwm.h | ||
audio_pwm_hardware.c | ||
audio_pwm_software.c | ||
i2c_master.c | ||
i2c_master.h | ||
serial.c | ||
serial_protocol.c | ||
serial_protocol.h | ||
serial_usart.c | ||
serial_usart.h | ||
spi_master.c | ||
spi_master.h | ||
uart.c | ||
uart.h | ||
usbpd_stm32g4.c | ||
ws2812.c | ||
ws2812_pwm.c | ||
ws2812_spi.c |