diff options
author | tmk <nobody@nowhere> | 2010-11-06 02:03:52 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2010-11-06 02:03:52 +0900 |
commit | 74b3e591fcf296f0b363ab8289b2531a7cd44b64 (patch) | |
tree | efdd46908f027904a182b97431e784e3d4614424 /key_process.c | |
parent | 89feab2301725263326154de6b946969be30c0be (diff) | |
download | qmk_firmware-74b3e591fcf296f0b363ab8289b2531a7cd44b64.tar.gz qmk_firmware-74b3e591fcf296f0b363ab8289b2531a7cd44b64.zip |
FIX: LED debug
Diffstat (limited to 'key_process.c')
-rw-r--r-- | key_process.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/key_process.c b/key_process.c index dc75c2c611..f6e16b8edd 100644 --- a/key_process.c +++ b/key_process.c @@ -96,6 +96,15 @@ void proc_matrix(void) { } } } + + if (modified) { +#ifdef DEBUG_LED + // LED flash for debug + DEBUG_LED_CONFIG; + DEBUG_LED_OFF; +#endif + } + layer_switching(fn_bits); // when 4 left modifier keys down @@ -224,10 +233,5 @@ void proc_matrix(void) { //Rollover } usb_keyboard_send(); -#ifdef DEBUG_LED - // LED flash for debug - DEBUG_LED_CONFIG; - DEBUG_LED_OFF; -#endif } } |