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; }