qmk/platforms/avr
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
..
bootloaders [Core] Add Reboot keycode to core (#15990) 2022-05-14 13:35:49 +10:00
drivers Fix AVR I2C master 1ms timeout (#17174) 2022-06-22 00:00:04 +02:00
_pin_defs.h Force platform pin defs to be included (#16611) 2022-03-10 23:53:16 +00:00
_print.h
_timer.h
_wait.h
atomic_util.h
bootloader_size.c
flash.mk
gpio.h
hardware_id.c Fixup AVR builds. (#16875) 2022-04-18 15:39:45 +01:00
platform_deps.h
platform.c Move disable_jtag to platforms (#16960) 2022-04-29 01:23:50 +01:00
platform.mk [Core] Update C standard to GNU11, C++ to GNU++14 (#17114) 2022-06-06 08:47:22 +10:00
printf.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
printf.mk
sleep_led.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
suspend.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
timer_avr.h
timer.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
xprintf.h
xprintf.S