summaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode/process_secure.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/process_keycode/process_secure.c')
-rw-r--r--quantum/process_keycode/process_secure.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/process_keycode/process_secure.c b/quantum/process_keycode/process_secure.c
index 3224104c99..894051fb33 100644
--- a/quantum/process_keycode/process_secure.c
+++ b/quantum/process_keycode/process_secure.c
@@ -23,19 +23,19 @@ bool preprocess_secure(uint16_t keycode, keyrecord_t *record) {
bool process_secure(uint16_t keycode, keyrecord_t *record) {
#ifndef SECURE_DISABLE_KEYCODES
if (!record->event.pressed) {
- if (keycode == SECURE_LOCK) {
+ if (keycode == QK_SECURE_LOCK) {
secure_lock();
return false;
}
- if (keycode == SECURE_UNLOCK) {
+ if (keycode == QK_SECURE_UNLOCK) {
secure_unlock();
return false;
}
- if (keycode == SECURE_TOGGLE) {
+ if (keycode == QK_SECURE_TOGGLE) {
secure_is_locked() ? secure_unlock() : secure_lock();
return false;
}
- if (keycode == SECURE_REQUEST) {
+ if (keycode == QK_SECURE_REQUEST) {
secure_request_unlock();
return false;
}