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 /quantum | |
parent | 22470f030206336c970bc5f6e1d82f25520224f5 (diff) |
[Bug] Fix command feature if mousekey is enabled and using 3-speed setting (#14697)
Diffstat (limited to 'quantum')
-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 2ff640a7bc..6d56a25ea1 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/>. # include "backlight.h" #endif -#if defined(MOUSEKEY_ENABLE) && !defined(MK_3_SPEED) +#if defined(MOUSEKEY_ENABLE) # include "mousekey.h" #endif @@ -53,7 +53,7 @@ static void print_version(void); static void print_status(void); static bool command_console(uint8_t code); static void command_console_help(void); -#if defined(MOUSEKEY_ENABLE) && !defined(MK_3_SPEED) +#if defined(MOUSEKEY_ENABLE) static bool mousekey_console(uint8_t code); #endif @@ -73,7 +73,7 @@ bool command_proc(uint8_t code) { else return (command_console_extra(code) || command_console(code)); break; -#if defined(MOUSEKEY_ENABLE) && !defined(MK_3_SPEED) +#if defined(MOUSEKEY_ENABLE) case MOUSEKEY: mousekey_console(code); break; |