summaryrefslogtreecommitdiff
path: root/quantum/quantum.c
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-04-01 21:06:22 +0100
committerGitHub <noreply@github.com>2020-04-01 21:06:22 +0100
commit58a9c84d6bb22c7544231f60acace4a85d6f8dd2 (patch)
treeb66824a15543aad635de99fdb4db7768ab0c385b /quantum/quantum.c
parentc217186bea9226f87ef4b8acc926c3f21a0fea85 (diff)
downloadqmk_firmware-58a9c84d6bb22c7544231f60acace4a85d6f8dd2.tar.gz
qmk_firmware-58a9c84d6bb22c7544231f60acace4a85d6f8dd2.zip
Strip out features to allow minimum firmware sizes (#8645)
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r--quantum/quantum.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index 03b5704eb4..76a48cc77c 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -284,9 +284,11 @@ bool process_record_quantum(keyrecord_t *record) {
if (record->event.pressed) {
switch (keycode) {
+#ifndef NO_RESET
case RESET:
reset_keyboard();
return false;
+#endif
#ifndef NO_DEBUG
case DEBUG:
debug_enable ^= 1;