diff options
author | patrickmt <40182064+patrickmt@users.noreply.github.com> | 2018-12-10 14:28:06 -0500 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-12-10 11:28:06 -0800 |
commit | 4a5e68f4f29b0c4c75a68b5958dff197f4ac0f53 (patch) | |
tree | 28f1743798df9f2af66d938c578dc991d70019d9 /tmk_core/protocol/arm_atsam/led_matrix.c | |
parent | e99615b2acb473fc4a23886b87abe61c80faa1bc (diff) |
Bringing Massdrop keyboard hardware configuration to keyboard level (#4593)
MCU Pins for debugging, LED, boot tracing, and shift registers are now configurable at keyboard level.
Macros led_* replaced by DBG_LED_*
Macros m15_* replaced by DBG_1_*
Macros m27_* replaced by DBG_2_*
Macros m28_* replaced by DBG_3_*
For CTRL and ALT keyboards, debug boot tracing pin default now set to pad M27 instead of M28 since although M28 is not being used, it is technically a signal for USB port detection.
m15_print(...) renamed to dbg_print(...) to get away from hard coded port names.
dbg_print function now follows similar pattern to debug led output.
Diffstat (limited to 'tmk_core/protocol/arm_atsam/led_matrix.c')
-rw-r--r-- | tmk_core/protocol/arm_atsam/led_matrix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/protocol/arm_atsam/led_matrix.c b/tmk_core/protocol/arm_atsam/led_matrix.c index 729e042a6e..e914fc80ea 100644 --- a/tmk_core/protocol/arm_atsam/led_matrix.c +++ b/tmk_core/protocol/arm_atsam/led_matrix.c @@ -520,9 +520,9 @@ void led_matrix_task(void) //Process more data if not finished if (led_cur != lede) { - //m15_off; //debug profiling + //DBG_1_OFF; //debug profiling led_matrix_run(); - //m15_on; //debug profiling + //DBG_1_ON; //debug profiling } } |