mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-18 01:46:09 +00:00
Update feature_macros.md (#2387)
break statements are never reached due to the return statement, so unnecessary
This commit is contained in:
parent
0092be5925
commit
31cae1f1bd
1 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
switch(keycode) {
|
||||
case MY_CUSTOM_MACRO:
|
||||
SEND_STRING("QMK is the best thing ever!"); // this is our macro!
|
||||
return false; break;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
@ -56,10 +56,10 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
switch(keycode) {
|
||||
case MY_CUSTOM_MACRO:
|
||||
SEND_STRING("QMK is the best thing ever!");
|
||||
return false; break;
|
||||
return false;
|
||||
case MY_OTHER_MACRO:
|
||||
SEND_STRING(SS_LCTRL("ac")); // selects all and copies
|
||||
return false; break;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue