]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Fix Clueboard hotswap gen1 not compiling when LED Matrix is disabled (#6427)
authorKonstantin Đorđević <vomindoraan@gmail.com>
Fri, 16 Aug 2019 23:29:29 +0000 (01:29 +0200)
committerskullydazed <skullydazed@users.noreply.github.com>
Fri, 16 Aug 2019 23:29:29 +0000 (16:29 -0700)
* 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.

keyboards/clueboard/66_hotswap/gen1/gen1.c

index c70f223756caf5b7e4360a0ec8af90d1e73459db..3bcf74faab793e182ebf352dce3041457c0ac9ac 100644 (file)
  * 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