diff options
author | Drashna Jael're <drashna@live.com> | 2020-02-14 10:37:22 -0800 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-02-26 10:15:12 +0900 |
commit | 41194bcbd30034bd26961b0f450bd8e150ca3e89 (patch) | |
tree | a237daa5af2494a6890b7d21f7ec5b114d16ab48 /quantum | |
parent | 4885430361f16a905feb9cda4d7faac5de7813ab (diff) |
Fix Live Training bug
Forget to check if the firmware is actually paired
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/oryx.c | 2 |
1 files changed, 1 insertions, 1 deletions
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()) { |