summaryrefslogtreecommitdiff
path: root/keyboards/kbdfans/kbdpad_mk2/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kbdfans/kbdpad_mk2/config.h')
-rw-r--r--keyboards/kbdfans/kbdpad_mk2/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/kbdfans/kbdpad_mk2/config.h b/keyboards/kbdfans/kbdpad_mk2/config.h
index e3b91e1a1b..a7dae0a703 100644
--- a/keyboards/kbdfans/kbdpad_mk2/config.h
+++ b/keyboards/kbdfans/kbdpad_mk2/config.h
@@ -54,9 +54,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
#define BACKLIGHT_PIN B7
+#ifdef BACKLIGHT_PIN
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 5
-
+#endif
#define RGB_DI_PIN B5
#ifdef RGB_DI_PIN
#define RGBLED_NUM 16