summaryrefslogtreecommitdiff
path: root/users/curry/curry.c
diff options
context:
space:
mode:
authorAllen Choi <37539914+Thunderbird2086@users.noreply.github.com>2022-04-19 20:00:01 +0900
committerGitHub <noreply@github.com>2022-04-19 21:00:01 +1000
commit9ead40db0cde5568b4be4b199615cc284ed4e7a8 (patch)
treeed12bed724202816d5874d28592c3cf739b4c22d /users/curry/curry.c
parent1acb37db7fc28684785ee57d68452d127790c1db (diff)
Fix broken build for users/curry (#16492)
Diffstat (limited to 'users/curry/curry.c')
-rw-r--r--users/curry/curry.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/curry/curry.c b/users/curry/curry.c
index 0353553591..a9f9f79870 100644
--- a/users/curry/curry.c
+++ b/users/curry/curry.c
@@ -14,9 +14,11 @@ void bootmagic_lite(void) {
wait_ms(30);
#endif
matrix_scan();
+#if defined(BOOTMAGIC_ENABLE)
if (matrix_get_row(BOOTMAGIC_LITE_ROW) & (1 << BOOTMAGIC_LITE_COLUMN)) {
bootloader_jump();
}
+#endif
}
__attribute__((weak)) void keyboard_pre_init_keymap(void) {}