Fix Live Training bug
Forget to check if the firmware is actually paired
This commit is contained in:
committed by
Florian Didron
parent
4885430361
commit
41194bcbd3
+1
-1
@@ -195,7 +195,7 @@ void oryx_layer_event(void) {
|
|||||||
#endif
|
#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) {
|
bool process_record_oryx(uint16_t keycode, keyrecord_t *record) {
|
||||||
if(is_oryx_live_training_enabled()) {
|
if(is_oryx_live_training_enabled()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user