]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Ergodox Infinity: Swapped Row and Column in comments (#4247)
authorgromwalh <15847180+gromwalh@users.noreply.github.com>
Fri, 26 Oct 2018 21:12:40 +0000 (14:12 -0700)
committerDrashna Jaelre <drashna@live.com>
Fri, 26 Oct 2018 21:12:40 +0000 (14:12 -0700)
When comparing the pins in this file to the Ergodox Infinity schematic, it seems that the first section is describing the rows and the second section is describing the columns.

keyboards/ergodox_infinity/matrix.c

index 3baa07f583279930d6c8bf736caddeef77f764aa..3a0a1792866d7f47b00581c1ba4337682ab60c19 100644 (file)
@@ -44,14 +44,14 @@ static uint16_t debouncing_time = 0;
 
 void matrix_init(void)
 {
-    /* Column(sense) */
+    /* Row(sense) */
     palSetPadMode(GPIOD, 1,  PAL_MODE_INPUT_PULLDOWN);
     palSetPadMode(GPIOD, 4,  PAL_MODE_INPUT_PULLDOWN);
     palSetPadMode(GPIOD, 5,  PAL_MODE_INPUT_PULLDOWN);
     palSetPadMode(GPIOD, 6,  PAL_MODE_INPUT_PULLDOWN);
     palSetPadMode(GPIOD, 7,  PAL_MODE_INPUT_PULLDOWN);
 
-    /* Row(strobe) */
+    /* Column(strobe) */
     palSetPadMode(GPIOB, 2,  PAL_MODE_OUTPUT_PUSHPULL);
     palSetPadMode(GPIOB, 3,  PAL_MODE_OUTPUT_PUSHPULL);
     palSetPadMode(GPIOB, 18, PAL_MODE_OUTPUT_PUSHPULL);