From 41194bcbd30034bd26961b0f450bd8e150ca3e89 Mon Sep 17 00:00:00 2001 From: Drashna Jael're Date: Fri, 14 Feb 2020 10:37:22 -0800 Subject: Fix Live Training bug Forget to check if the firmware is actually paired --- quantum/oryx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/oryx.c b/quantum/oryx.c index 65a68ee7a2..ddbe72bfa7 100644 --- a/quantum/oryx.c +++ b/quantum/oryx.c @@ -195,7 +195,7 @@ void oryx_layer_event(void) { #endif } -bool is_oryx_live_training_enabled(void) { return oryx_state_live_training_enabled; } +bool is_oryx_live_training_enabled(void) { return (oryx_state_live_training_enabled && webusb_state.paired); } bool process_record_oryx(uint16_t keycode, keyrecord_t *record) { if(is_oryx_live_training_enabled()) { -- cgit v1.2.3