aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormechlovin <57231893+mechlovin@users.noreply.github.com>2021-04-20 23:56:32 +0700
committerGitHub <noreply@github.com>2021-04-20 09:56:32 -0700
commit21c147c11b23aad7a9335fee309531eac22ecf6b (patch)
treef7ca1bb8c41f10922a7502cec65802eef317c63d
parent752f5d6eb699d9c9582c84e2ed578aa6f46b2d70 (diff)
downloadqmk_firmware-21c147c11b23aad7a9335fee309531eac22ecf6b.tar.gz
qmk_firmware-21c147c11b23aad7a9335fee309531eac22ecf6b.zip
[Keyboard] Refactor IF87_rev1 (#12574)
-rw-r--r--keyboards/mechlovin/infinity87/rev1/rev1.h10
-rw-r--r--keyboards/mechlovin/infinity87/rev1/rules.mk2
-rw-r--r--keyboards/mechlovin/infinity87/rules.mk2
3 files changed, 10 insertions, 4 deletions
diff --git a/keyboards/mechlovin/infinity87/rev1/rev1.h b/keyboards/mechlovin/infinity87/rev1/rev1.h
index 16cdf9ed8..de623a1cd 100644
--- a/keyboards/mechlovin/infinity87/rev1/rev1.h
+++ b/keyboards/mechlovin/infinity87/rev1/rev1.h
@@ -1,4 +1,4 @@
1/* Copyright 2020 Team Mechlovin 1/* Copyright 2021 Mechlovin' Studio
2 * 2 *
3 * This program is free software: you can redistribute it and/or modify 3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by 4 * it under the terms of the GNU General Public License as published by
@@ -17,3 +17,11 @@
17#pragma once 17#pragma once
18 18
19#include "quantum.h" 19#include "quantum.h"
20
21#ifdef KEYBOARD_mechlovin_infinity87_rev1_rogue87
22 #include "rogue87.h"
23#elif KEYBOARD_mechlovin_infinity87_rev1_rouge87
24 #include "rouge87.h"
25#elif KEYBOARD_mechlovin_infinity87_rev1_standard
26 #include "infinity87.h"
27#endif
diff --git a/keyboards/mechlovin/infinity87/rev1/rules.mk b/keyboards/mechlovin/infinity87/rev1/rules.mk
index cb04a558f..2f2d27fb2 100644
--- a/keyboards/mechlovin/infinity87/rev1/rules.mk
+++ b/keyboards/mechlovin/infinity87/rev1/rules.mk
@@ -2,5 +2,3 @@ MCU = STM32F303
2BOARD = QMK_PROTON_C 2BOARD = QMK_PROTON_C
3 3
4BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality 4BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
5
6DEFAULT_FOLDER = mechlovin/infinity87/rev1/standard \ No newline at end of file
diff --git a/keyboards/mechlovin/infinity87/rules.mk b/keyboards/mechlovin/infinity87/rules.mk
index 122298799..e0858aff0 100644
--- a/keyboards/mechlovin/infinity87/rules.mk
+++ b/keyboards/mechlovin/infinity87/rules.mk
@@ -16,4 +16,4 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
16BLUETOOTH_ENABLE = no # Enable Bluetooth 16BLUETOOTH_ENABLE = no # Enable Bluetooth
17AUDIO_ENABLE = no # Audio output 17AUDIO_ENABLE = no # Audio output
18 18
19DEFAULT_FOLDER = mechlovin/infinity87/rev1/standard 19DEFAULT_FOLDER = mechlovin/infinity87/rgb_rev1