diff options
author | Drashna Jaelre <drashna@live.com> | 2021-10-05 17:50:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 17:50:23 -0700 |
commit | 3b8c4979dc17a52cd87f30b4986ca46d0b365860 (patch) | |
tree | 4d0ed58908b085b6ce5ad0b5e5181214365baf91 | |
parent | 22470f030206336c970bc5f6e1d82f25520224f5 (diff) | |
download | qmk_firmware-3b8c4979dc17a52cd87f30b4986ca46d0b365860.tar.gz qmk_firmware-3b8c4979dc17a52cd87f30b4986ca46d0b365860.zip |
[Bug] Fix command feature if mousekey is enabled and using 3-speed setting (#14697)
-rw-r--r-- | quantum/command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/command.c b/quantum/command.c index 2ff640a7b..6d56a25ea 100644 --- a/quantum/command.c +++ b/quantum/command.c | |||
@@ -39,7 +39,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
39 | # include "backlight.h" | 39 | # include "backlight.h" |
40 | #endif | 40 | #endif |
41 | 41 | ||
42 | #if defined(MOUSEKEY_ENABLE) && !defined(MK_3_SPEED) | 42 | #if defined(MOUSEKEY_ENABLE) |
43 | # include "mousekey.h" | 43 | # include "mousekey.h" |
44 | #endif | 44 | #endif |
45 | 45 | ||
@@ -53,7 +53,7 @@ static void print_version(void); | |||
53 | static void print_status(void); | 53 | static void print_status(void); |
54 | static bool command_console(uint8_t code); | 54 | static bool command_console(uint8_t code); |
55 | static void command_console_help(void); | 55 | static void command_console_help(void); |
56 | #if defined(MOUSEKEY_ENABLE) && !defined(MK_3_SPEED) | 56 | #if defined(MOUSEKEY_ENABLE) |
57 | static bool mousekey_console(uint8_t code); | 57 | static bool mousekey_console(uint8_t code); |
58 | #endif | 58 | #endif |
59 | 59 | ||
@@ -73,7 +73,7 @@ bool command_proc(uint8_t code) { | |||
73 | else | 73 | else |
74 | return (command_console_extra(code) || command_console(code)); | 74 | return (command_console_extra(code) || command_console(code)); |
75 | break; | 75 | break; |
76 | #if defined(MOUSEKEY_ENABLE) && !defined(MK_3_SPEED) | 76 | #if defined(MOUSEKEY_ENABLE) |
77 | case MOUSEKEY: | 77 | case MOUSEKEY: |
78 | mousekey_console(code); | 78 | mousekey_console(code); |
79 | break; | 79 | break; |