X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboards%2Fplanck%2Fplanck.c;h=6ac789cbe72c83e1d940af7420ef33c0dad2ba24;hb=70cf46d4f17fe221a4f11322cb083a4a6f64e980;hp=645b450d1db5ca409d3e35bc922ca1f47682ed81;hpb=7c76d364549f7c27d09134f9a8308e05928ad550;p=qmk_firmware.git diff --git a/keyboards/planck/planck.c b/keyboards/planck/planck.c index 645b450d1..6ac789cbe 100644 --- a/keyboards/planck/planck.c +++ b/keyboards/planck/planck.c @@ -1,6 +1,6 @@ #include "planck.h" -#ifdef ONEHAND_ENABLE +#ifdef SWAP_HANDS_ENABLE __attribute__ ((weak)) const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { {{11, 0}, {10, 0}, {9, 0}, {8, 0}, {7, 0}, {6, 0}, {5, 0}, {4, 0}, {3, 0}, {2, 0}, {1, 0}, {0, 0}}, @@ -10,10 +10,11 @@ const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { }; #endif +__attribute__ ((weak)) void matrix_init_kb(void) { // Turn status LED on DDRE |= (1<<6); PORTE |= (1<<6); matrix_init_user(); -} \ No newline at end of file +}