Simplify logic; no need to return so much

pull/405/head
Christopher Browne 9 years ago
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: case M_USERNAME:
if (record->event.pressed) { if (record->event.pressed) {
SEND_STRING("cbbrowne"); SEND_STRING("cbbrowne");
return MACRO_NONE ;
} else {
return MACRO_NONE ;
} }
break; break;
case M_RANDDIGIT: case M_RANDDIGIT:

Loading…
Cancel
Save