浏览代码

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