summaryrefslogtreecommitdiff
path: root/keyboard/planck/keymaps/keymap_lock.c
diff options
context:
space:
mode:
authorJack Humbert2016-01-11 16:53:33 -0500
committerJack Humbert2016-01-11 16:53:33 -0500
commit29de37d5c0ea9fc6b5539ce4493c7b10a2a7f33f (patch)
treececb16f2969a1d250b45d828df1e700bce1d8c40 /keyboard/planck/keymaps/keymap_lock.c
parent11ce694557389bdde2b5ae15af38fdad3fe77a27 (diff)
pwm audio
Diffstat (limited to 'keyboard/planck/keymaps/keymap_lock.c')
-rw-r--r--keyboard/planck/keymaps/keymap_lock.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboard/planck/keymaps/keymap_lock.c b/keyboard/planck/keymaps/keymap_lock.c
index cc9be55f6..c2bf0b7d8 100644
--- a/keyboard/planck/keymaps/keymap_lock.c
+++ b/keyboard/planck/keymaps/keymap_lock.c
@@ -1,5 +1,5 @@
#include "keymap_common.h"
-#include "backlight.h"
+// #include "backlight.h"
#include "action_layer.h"
#include "keymap_midi.h"
#include <avr/boot.h>
@@ -71,7 +71,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
if (record->event.pressed) {
// play_note(440, 20);
// register_code(KC_RSFT);
- backlight_set(BACKLIGHT_LEVELS);
+ // backlight_set(BACKLIGHT_LEVELS);
default_layer_and(0);
default_layer_or((1<<5));
@@ -106,9 +106,9 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
// note(0+12, 20);
// note(0+24, 20);
} else {
- // unregister_code(KC_RSFT);
- // stop_note();
- backlight_set(0);
+ unregister_code(KC_RSFT);
+ // stop_all_notes();
+ // backlight_set(0);
default_layer_and(0);
default_layer_or(0);
// note(0+24, 20);