1
0
Fork 0
qmk_firmware/keyboards/tkc1800/keymaps
TerryMathews d12d058bae Autodetect lack of screen presence
This is the simplest, most efficient way I could come up with to silence
the "Failed to start write 60" error that occurs when QMK tries to talk
to a screen that doesn't exist.

iota_gfx_init passes a success boolean. We catch that into a global bool
(we could rewrite multiple functions to pass this as an argument, but
given the number of keyboards using this code it seemed less disruptive
this way) and then use that as a conditional on running the
iota_gfx_task in matrix_scan_user.

Tl;dr: if the screen doesn't init, the screen write code doesn't run.
2018-08-29 21:03:23 -04:00
..
default Autodetect lack of screen presence 2018-08-29 21:03:23 -04:00
smt Keymap: Add smt keymap for TKC1800 (#3481) 2018-07-25 08:28:06 -07:00
wkl Autodetect lack of screen presence 2018-08-29 21:03:23 -04:00
yanfali Add TKC keymap (#3157) 2018-06-09 18:18:56 -07:00