summaryrefslogtreecommitdiffstats
path: root/docs/feature_macros.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/feature_macros.md')
-rw-r--r--docs/feature_macros.md6
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) {
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;