From 1e1b55fbdf61c5a8b6aa8642e3743e4e193d9956 Mon Sep 17 00:00:00 2001
From: Ben <BenRoe@users.noreply.github.com>
Date: Fri, 15 Feb 2019 06:00:57 +0100
Subject: [PATCH] Improve Encoder documentation (#5130)

---
 docs/feature_encoders.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/feature_encoders.md b/docs/feature_encoders.md
index 6eab402ef9..dd12c91ce3 100644
--- a/docs/feature_encoders.md
+++ b/docs/feature_encoders.md
@@ -38,7 +38,7 @@ or `keymap.c`:
         } else {
           tap_code(KC_PGUP);
         }
-      } else if (index == 2) {
+      } else if (index == 1) { /* Second encoder
         if (clockwise) {
           tap_code(KC_UP);
         } else {