Browse Source

Simplify logic; no need to return so much

Christopher Browne 9 years ago
parent
commit
c5a034f984
1 changed files with 0 additions and 3 deletions
  1. 0 3
      keyboard/planck/keymaps/cbbrowne/keymap.c

+ 0 - 3
keyboard/planck/keymaps/cbbrowne/keymap.c

@@ -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: