aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mechmini
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2020-01-19 18:00:32 +1100
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2020-01-18 23:00:32 -0800
commitf5209aa4e941c7f3a942ef4a7e256ab432ec98ce (patch)
tree29c2a0d197050ff2accb920731ddb1d022cb2a90 /keyboards/mechmini
parenteb5d267e637db4c2c639932b8c8176bf47dff78f (diff)
downloadqmk_firmware-f5209aa4e941c7f3a942ef4a7e256ab432ec98ce.tar.gz
qmk_firmware-f5209aa4e941c7f3a942ef4a7e256ab432ec98ce.zip
Remove custom backlight code for PS2AVRGB boards (#7775)
* Remove custom backlight code for PS2AVRGB boards * Remove custom driver setting * BACKLIGHT_BREATHING goes in config.h, not here * Don't need to include backlight.c again here either * Turn on backlight for Canoe * Disable console on a few boards due to oversize
Diffstat (limited to 'keyboards/mechmini')
-rw-r--r--keyboards/mechmini/v1/config.h8
-rw-r--r--keyboards/mechmini/v1/rules.mk2
2 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/mechmini/v1/config.h b/keyboards/mechmini/v1/config.h
index eb15a368a..07422f9ff 100644
--- a/keyboards/mechmini/v1/config.h
+++ b/keyboards/mechmini/v1/config.h
@@ -15,8 +15,7 @@ You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>. 15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/ 16*/
17 17
18#ifndef V1_CONFIG_H 18#pragma once
19#define V1_CONFIG_H
20 19
21#include "config_common.h" 20#include "config_common.h"
22 21
@@ -38,11 +37,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
38 37
39#define NO_UART 1 38#define NO_UART 1
40 39
40#define BACKLIGHT_PIN D4
41#define BACKLIGHT_LEVELS 3
42
41/* RGB underglow */ 43/* RGB underglow */
42// The RGB_DI_PIN value seems to be shared between all PS2AVRGB boards. 44// The RGB_DI_PIN value seems to be shared between all PS2AVRGB boards.
43// The same pin is used on the JJ40, at least. 45// The same pin is used on the JJ40, at least.
44#define RGBLED_NUM 16 46#define RGBLED_NUM 16
45#define RGBLIGHT_ANIMATIONS 47#define RGBLIGHT_ANIMATIONS
46#define RGB_DI_PIN E2 48#define RGB_DI_PIN E2
47
48#endif
diff --git a/keyboards/mechmini/v1/rules.mk b/keyboards/mechmini/v1/rules.mk
index 1c6252c59..6f2adc2f8 100644
--- a/keyboards/mechmini/v1/rules.mk
+++ b/keyboards/mechmini/v1/rules.mk
@@ -17,7 +17,7 @@ MOUSEKEY_ENABLE = yes
17EXTRAKEY_ENABLE = yes 17EXTRAKEY_ENABLE = yes
18CONSOLE_ENABLE = yes 18CONSOLE_ENABLE = yes
19COMMAND_ENABLE = yes 19COMMAND_ENABLE = yes
20BACKLIGHT_ENABLE = no 20BACKLIGHT_ENABLE = yes
21RGBLIGHT_ENABLE = yes 21RGBLIGHT_ENABLE = yes
22WS2812_DRIVER = i2c 22WS2812_DRIVER = i2c
23 23