Simplify logic; no need to return so much
This commit is contained in:
parent
de2f95bc6f
commit
c5a034f984
|
@ -133,9 +133,6 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
|||
case M_USERNAME:
|
||||
if (record->event.pressed) {
|
||||
SEND_STRING("cbbrowne");
|
||||
return MACRO_NONE ;
|
||||
} else {
|
||||
return MACRO_NONE ;
|
||||
}
|
||||
break;
|
||||
case M_RANDDIGIT:
|
||||
|
|
Loading…
Reference in New Issue