summaryrefslogtreecommitdiff
path: root/docs/feature_layers.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/feature_layers.md')
-rw-r--r--docs/feature_layers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/feature_layers.md b/docs/feature_layers.md
index 8503603ffe..697064b49a 100644
--- a/docs/feature_layers.md
+++ b/docs/feature_layers.md
@@ -155,7 +155,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
uint8_t current_layer = get_highest_layer(layer_state);
// Check if we are within the range, if not quit
- if (curent_layer > LAYER_CYCLE_END || current_layer < LAYER_CYCLE_START) {
+ if (current_layer > LAYER_CYCLE_END || current_layer < LAYER_CYCLE_START) {
return false;
}