mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-27 03:28:46 +06:00
More concise, no functional change.
This commit is contained in:
parent
6dc48384f3
commit
0cd070d814
@ -169,7 +169,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
||||
switch(id) {
|
||||
case KP_00:
|
||||
if (record->event.pressed) {
|
||||
return MACRO( D(KP_0), U(KP_0), D(KP_0), END );
|
||||
return MACRO( T(KP_0), D(KP_0), END );
|
||||
} else {
|
||||
return MACRO( U(KP_0), END );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user