summaryrefslogtreecommitdiff
path: root/keyboards/sam
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-23 21:38:01 +1100
committerGitHub <noreply@github.com>2023-03-23 21:38:01 +1100
commitad625e7c06929092231e8f426cbe972681d91a03 (patch)
tree700973c7e0b4ffbf7a29e770c825bd6f90889715 /keyboards/sam
parentb72b487b4dcfff01ebdd1c7ad697af20e7180354 (diff)
Remove `RGB_DI_PIN` ifdefs (#20218)
Diffstat (limited to 'keyboards/sam')
-rw-r--r--keyboards/sam/s80/config.h3
-rw-r--r--keyboards/sam/sg81m/config.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/keyboards/sam/s80/config.h b/keyboards/sam/s80/config.h
index 3d6d768957..e2248fee36 100644
--- a/keyboards/sam/s80/config.h
+++ b/keyboards/sam/s80/config.h
@@ -17,13 +17,12 @@
#pragma once
#define RGB_DI_PIN E2
-#ifdef RGB_DI_PIN
# define RGBLED_NUM 20
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 8
# define RGBLIGHT_LIMIT_VAL 100 /* The maximum brightness level */
//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
-#endif
+
// generated by KBFirmware JSON to QMK Parser
// https://noroadsleft.github.io/kbf_qmk_converter/
diff --git a/keyboards/sam/sg81m/config.h b/keyboards/sam/sg81m/config.h
index 946649d038..ad4a16b65a 100644
--- a/keyboards/sam/sg81m/config.h
+++ b/keyboards/sam/sg81m/config.h
@@ -17,7 +17,6 @@
#pragma once
#define RGB_DI_PIN E6 //reserved pin for potential underglow rgb
-#ifdef RGB_DI_PIN
#define RGBLED_NUM 10
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
@@ -34,4 +33,3 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#endif