소스 검색

Fix Clueboard hotswap gen1 not compiling when LED Matrix is disabled (#6427)

* Fix Clueboard hotswap gen1 not compiling when LED Matrix is disabled

* Move keymap.json to default keymap folder

* Revert "Move keymap.json to default keymap folder"

This reverts commit 7f28df909d7e4dcc79ab0ff44fe264656b5dfa18.
Konstantin Đorđević 5 년 전
부모
커밋
61b5914a80
1개의 변경된 파일2개의 추가작업 그리고 7개의 파일을 삭제
  1. 2 7
      keyboards/clueboard/66_hotswap/gen1/gen1.c

+ 2 - 7
keyboards/clueboard/66_hotswap/gen1/gen1.c

@@ -14,15 +14,10 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 #include "gen1.h"
-#include "is31fl3731-simple.h"
-
-void matrix_init_kb(void) {
-}
-
-void matrix_scan_kb(void) {
-}
 
 #ifdef LED_MATRIX_ENABLE
+    #include "is31fl3731-simple.h"
+
 const is31_led g_is31_leds[LED_DRIVER_LED_COUNT] = {
 /* Refer to IS31 manual for these locations
  *  driver