]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/planck/planck.c
fix backlight key for the light
[qmk_firmware.git] / keyboards / planck / planck.c
index 645b450d1db5ca409d3e35bc922ca1f47682ed81..6ac789cbe72c83e1d940af7420ef33c0dad2ba24 100644 (file)
@@ -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
+}