summaryrefslogtreecommitdiff
path: root/docs/zh-cn/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/zh-cn/custom_quantum_functions.md
parent53b0ee3f7ee2dba467c1d7066f4e22bf77ae20bc (diff)
downloadqmk_firmware-5bd239e1c0db98a51ed04b86fa5b1abf2b276bfb.tar.gz
qmk_firmware-5bd239e1c0db98a51ed04b86fa5b1abf2b276bfb.zip
Remove unnecessary break after return from documentation (#9892)
Diffstat (limited to 'docs/zh-cn/custom_quantum_functions.md')
-rw-r--r--docs/zh-cn/custom_quantum_functions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/zh-cn/custom_quantum_functions.md b/docs/zh-cn/custom_quantum_functions.md
index 95b2084dbf..27b2edf38f 100644
--- a/docs/zh-cn/custom_quantum_functions.md
+++ b/docs/zh-cn/custom_quantum_functions.md
@@ -424,7 +424,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
layer_state_set(layer_state); // 那么立刻更新层颜色
}
}
- return false; break;
+ return false;
case RGB_MODE_FORWARD ... RGB_MODE_GRADIENT: // 对于所有的RGB代码 (see quantum_keycodes.h, L400 可以参考)
if (record->event.pressed) { //本句失能层指示,假设你改变了这个…你要把它禁用
if (user_config.rgb_layer_change) { // 仅当使能时