summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgromwalh <15847180+gromwalh@users.noreply.github.com>2018-10-26 23:12:40 +0200
committerDrashna Jaelre <drashna@live.com>2018-10-26 23:12:40 +0200
commite22c3992454ade93ccaef70ab077e79a4b2a5ef0 (patch)
tree7fb5f8df828f7b82c2d7fff3de082ac13394c3f4
parentcc8744548108b1c1f820fb411ac3bf313aca1f5f (diff)
downloadqmk_firmware-e22c3992454ade93ccaef70ab077e79a4b2a5ef0.tar.gz
qmk_firmware-e22c3992454ade93ccaef70ab077e79a4b2a5ef0.tar.xz
Ergodox Infinity: Swapped Row and Column in comments (#4247)
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.
-rw-r--r--keyboards/ergodox_infinity/matrix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/ergodox_infinity/matrix.c b/keyboards/ergodox_infinity/matrix.c
index 3baa07f58..3a0a17928 100644
--- a/keyboards/ergodox_infinity/matrix.c
+++ b/keyboards/ergodox_infinity/matrix.c
@@ -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);