aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ymd96/config.h
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/ymd96/config.h
parenteb5d267e637db4c2c639932b8c8176bf47dff78f (diff)
downloadfirmware-f5209aa4e941c7f3a942ef4a7e256ab432ec98ce.tar.gz
firmware-f5209aa4e941c7f3a942ef4a7e256ab432ec98ce.tar.bz2
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/ymd96/config.h')
-rw-r--r--keyboards/ymd96/config.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/keyboards/ymd96/config.h b/keyboards/ymd96/config.h
index 1232f90c2..d761e6037 100644
--- a/keyboards/ymd96/config.h
+++ b/keyboards/ymd96/config.h
@@ -18,8 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-#ifndef CONFIG_H
-#define CONFIG_H
+#pragma once
#define VENDOR_ID 0x20A0
#define PRODUCT_ID 0x422D
@@ -38,8 +37,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
+#define BACKLIGHT_PIN D4
#define BACKLIGHT_LEVELS 12
-// #define BACKLIGHT_BREATHING // works, but BL_TOGG might not work
+#define BACKLIGHT_BREATHING
#define TAPPING_TOGGLE 3
@@ -55,5 +55,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/*#define RGBLIGHT_VAL_STEP 20
#define NO_UART 1*/
-
-#endif