diff --git a/keyboards/handwired/bluepill/keymaps/default/keymap.c b/keyboards/handwired/bluepill/keymaps/default/keymap.c index 96eecd814b..83cdc8589a 100644 --- a/keyboards/handwired/bluepill/keymaps/default/keymap.c +++ b/keyboards/handwired/bluepill/keymaps/default/keymap.c @@ -55,10 +55,10 @@ KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, const uint16_t PROGMEM fn_actions[] = { [0] = ACTION_LAYER_MOMENTARY(1), // to Fn overlay [1] = ACTION_LAYER_TOGGLE(2), // to Fn overlay - [2] = ACTION_FUNCTION(2), + //[2] = ACTION_FUNCTION(2), }; -void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { +/*void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { switch (id) { case 2: if (record->event.pressed) { @@ -67,10 +67,10 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { break; } -} +}*/ /* Layer based ilumination, set min value to 0xFFF */ -/*uint32_t layer_state_set_user(uint32_t state) { +uint32_t layer_state_set_user(uint32_t state) { switch (biton32(state)) { case _FNONE: palClearPad(GPIOA, 0); //ON @@ -86,4 +86,4 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { break; } return state; -}*/ \ No newline at end of file +} \ No newline at end of file diff --git a/keyboards/handwired/bluepill/keymaps/iso/keymap.c b/keyboards/handwired/bluepill/keymaps/iso/keymap.c index faf2e8d043..ce7a3d393d 100644 --- a/keyboards/handwired/bluepill/keymaps/iso/keymap.c +++ b/keyboards/handwired/bluepill/keymaps/iso/keymap.c @@ -53,10 +53,10 @@ KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, K const uint16_t PROGMEM fn_actions[] = { [0] = ACTION_LAYER_MOMENTARY(1), // to Fn overlay [1] = ACTION_LAYER_TOGGLE(2), // to Fn overlay - [2] = ACTION_FUNCTION(2), + //[2] = ACTION_FUNCTION(2), }; -void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { +/*void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { switch (id) { case 2: if (record->event.pressed) { @@ -65,10 +65,10 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { break; } -} +}*/ /* Layer based ilumination, set min value to 0xFFF */ -/*uint32_t layer_state_set_user(uint32_t state) { +uint32_t layer_state_set_user(uint32_t state) { switch (biton32(state)) { case _FNONE: palClearPad(GPIOA, 0); //ON @@ -84,4 +84,4 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { break; } return state; -}*/ \ No newline at end of file +} \ No newline at end of file