diff options
| author | Rustam Zagirov <rustam@zagirov.name> | 2020-07-31 17:58:55 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-31 15:58:55 +0100 |
| commit | 5bd239e1c0db98a51ed04b86fa5b1abf2b276bfb (patch) | |
| tree | a9e860be070b691699778a9bb615a7996eef6837 /docs/custom_quantum_functions.md | |
| parent | 53b0ee3f7ee2dba467c1d7066f4e22bf77ae20bc (diff) | |
| download | qmk_firmware-5bd239e1c0db98a51ed04b86fa5b1abf2b276bfb.tar.gz qmk_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.md | 2 |
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) { | |||
| 454 | layer_state_set(layer_state); // then immediately update the layer color | 454 | layer_state_set(layer_state); // then immediately update the layer color |
| 455 | } | 455 | } |
| 456 | } | 456 | } |
| 457 | return false; break; | 457 | return false; |
| 458 | case RGB_MODE_FORWARD ... RGB_MODE_GRADIENT: // For any of the RGB codes (see quantum_keycodes.h, L400 for reference) | 458 | case RGB_MODE_FORWARD ... RGB_MODE_GRADIENT: // For any of the RGB codes (see quantum_keycodes.h, L400 for reference) |
| 459 | if (record->event.pressed) { //This disables layer indication, as it's assumed that if you're changing this ... you want that disabled | 459 | if (record->event.pressed) { //This disables layer indication, as it's assumed that if you're changing this ... you want that disabled |
| 460 | if (user_config.rgb_layer_change) { // only if this is enabled | 460 | if (user_config.rgb_layer_change) { // only if this is enabled |
