aboutsummaryrefslogtreecommitdiffstats
path: root/docs/custom_quantum_functions.md
diff options
context:
space:
mode:
authorRustam Zagirov <rustam@zagirov.name>2020-07-31 17:58:55 +0300
committerGitHub <noreply@github.com>2020-07-31 15:58:55 +0100
commit5bd239e1c0db98a51ed04b86fa5b1abf2b276bfb (patch)
treea9e860be070b691699778a9bb615a7996eef6837 /docs/custom_quantum_functions.md
parent53b0ee3f7ee2dba467c1d7066f4e22bf77ae20bc (diff)
downloadfirmware-5bd239e1c0db98a51ed04b86fa5b1abf2b276bfb.tar.gz
firmware-5bd239e1c0db98a51ed04b86fa5b1abf2b276bfb.tar.bz2
firmware-5bd239e1c0db98a51ed04b86fa5b1abf2b276bfb.zip
Remove unnecessary break after return from documentation (#9892)
Diffstat (limited to 'docs/custom_quantum_functions.md')
-rw-r--r--docs/custom_quantum_functions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/custom_quantum_functions.md b/docs/custom_quantum_functions.md
index e15126c42..bf3a60377 100644
--- a/docs/custom_quantum_functions.md
+++ b/docs/custom_quantum_functions.md
@@ -454,7 +454,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
layer_state_set(layer_state); // then immediately update the layer color
}
}
- return false; break;
+ return false;
case RGB_MODE_FORWARD ... RGB_MODE_GRADIENT: // For any of the RGB codes (see quantum_keycodes.h, L400 for reference)
if (record->event.pressed) { //This disables layer indication, as it's assumed that if you're changing this ... you want that disabled
if (user_config.rgb_layer_change) { // only if this is enabled