]> git.donarmstrong.com Git - qmk_firmware.git/commit
Fix RG Sleep issues for Teensy Controllers
authorDrashna Jaelre <drashna@live.com>
Sat, 21 Jul 2018 21:16:14 +0000 (14:16 -0700)
committerskullydazed <skullydazed@users.noreply.github.com>
Tue, 11 Sep 2018 20:05:17 +0000 (13:05 -0700)
commit32ff7be266793967b820da80ae6f3fca0a1688b4
treede13da5daa983d1d7d0e010612b2a021db5d2fe2
parentdf8e417032bace12d69b5d75aebf257ea5dadb86
Fix RG Sleep issues for Teensy Controllers

Appearenly, teensy controllers have some issues with waking up.  If the rgblight is called "too soon", it will cause the controller to lock up, intermittently. Adding a 10 ms
delay seems to fix this issue, as it lets it have enough time to handle things properly.

This has been tested extensively on my Ergodox EZ, and can be seen in the @drashna userspace, under the "suspend_wakeup_init_user" function.
tmk_core/common/avr/suspend.c