Update al68.c

This commit is contained in:
yunzii keyboard 2024-08-28 11:36:29 +08:00 committed by GitHub
parent 827d979fc4
commit 83798c0b99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,12 +34,12 @@ bool process_record_kb(uint16_t keycode, keyrecord_t* record)
if (record->event.pressed){ if (record->event.pressed){
if ((keycode>=KC_BLE1) && (keycode<=KC_24G)) if ((keycode>=KC_BLE1) && (keycode<=KC_24G))
{ {
WIRELESS_START(keycode-KC_USB); wireless_start(keycode-KC_USB);
return false; return false;
} }
else if (keycode == KC_USB) else if (keycode == KC_USB)
{ {
WIRELESS_STOP(); wireless_stop();
return false; return false;
} }
} }