qmk-keychron-q3-colemak-dh/platforms/avr/drivers
Daniel Kao 608404f874
Fix AVR I2C master 1ms timeout (#17174)
* avr i2c_master: Fix 1ms timeout

i2c_start() produces a minimum time_slice of 1ms for use as timeout
value.
The timer granularity is 1ms, it is entirely possible for timer_count
to tick up immediately after the last timer read and falsely trigger
timeout with a '>= 1' comparison.

* avr/drivers/i2c_master: Use timer_elapsed()
2022-06-22 00:00:04 +02:00
..
ps2 Improve PS/2 mouse performance (#17111) 2022-05-30 23:15:17 -07:00
analog.c analog.[ch]: remove unnecessary includes (#16471) 2022-03-04 14:56:59 +11:00
analog.h analog.[ch]: remove unnecessary includes (#16471) 2022-03-04 14:56:59 +11:00
audio_pwm_hardware.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
audio_pwm.h Move Audio drivers from quantum to platform drivers folder (#14308) 2021-10-06 12:01:45 +11:00
glcdfont.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
i2c_master.c Fix AVR I2C master 1ms timeout (#17174) 2022-06-22 00:00:04 +02:00
i2c_master.h i2c_master: Add support for reading/writing to 16-bit registers (#14289) 2021-10-07 10:29:35 +11:00
i2c_slave.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
i2c_slave.h Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
serial.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
spi_master.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
spi_master.h Relocate platform specific drivers (#13894) 2021-08-17 23:43:09 +01:00
ssd1306.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
ssd1306.h Relocate platform specific drivers (#13894) 2021-08-17 23:43:09 +01:00
uart.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
uart.h Fix uart function prototypes (#15162) 2021-11-15 20:15:45 +11:00
ws2812_i2c.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
ws2812.c Fix platforms/avr/drivers/ws2812.c (#17043) 2022-05-18 20:58:03 +01:00