diff options
| -rw-r--r-- | docs/feature_macros.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/feature_macros.md b/docs/feature_macros.md index dff692bd8..e77d7afea 100644 --- a/docs/feature_macros.md +++ b/docs/feature_macros.md | |||
| @@ -22,7 +22,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 22 | switch(keycode) { | 22 | switch(keycode) { |
| 23 | case MY_CUSTOM_MACRO: | 23 | case MY_CUSTOM_MACRO: |
| 24 | SEND_STRING("QMK is the best thing ever!"); // this is our macro! | 24 | SEND_STRING("QMK is the best thing ever!"); // this is our macro! |
| 25 | return false; break; | 25 | return false; |
| 26 | } | 26 | } |
| 27 | } | 27 | } |
| 28 | return true; | 28 | return true; |
| @@ -56,10 +56,10 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 56 | switch(keycode) { | 56 | switch(keycode) { |
| 57 | case MY_CUSTOM_MACRO: | 57 | case MY_CUSTOM_MACRO: |
| 58 | SEND_STRING("QMK is the best thing ever!"); | 58 | SEND_STRING("QMK is the best thing ever!"); |
| 59 | return false; break; | 59 | return false; |
| 60 | case MY_OTHER_MACRO: | 60 | case MY_OTHER_MACRO: |
| 61 | SEND_STRING(SS_LCTRL("ac")); // selects all and copies | 61 | SEND_STRING(SS_LCTRL("ac")); // selects all and copies |
| 62 | return false; break; | 62 | return false; |
| 63 | } | 63 | } |
| 64 | } | 64 | } |
| 65 | return true; | 65 | return true; |
