Browse Source

Fix HS60 config for ANSI keymap (#3054)

- This is mostly for safety
yiancar 7 năm trước cách đây
mục cha
commit
a659666e8a
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      keyboards/hs60/config.h

+ 6 - 0
keyboards/hs60/config.h

@@ -133,7 +133,13 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
 #define DRIVER_COUNT 2
 #define DRIVER_COUNT 2
 #define DRIVER_1_LED_TOTAL 30
 #define DRIVER_1_LED_TOTAL 30
+
+#ifdef  HS60_ANSI
+#define DRIVER_2_LED_TOTAL 31
+#else
 #define DRIVER_2_LED_TOTAL 32
 #define DRIVER_2_LED_TOTAL 32
+#endif
+
 #define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL
 #define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL
 
 
 #endif
 #endif