diff options
author | XScorpion2 <rcalt2vt@gmail.com> | 2021-07-13 03:45:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-13 18:45:31 +1000 |
commit | 1ae4d52013c9f38bdc5c208ff8bbfdf173e1dddd (patch) | |
tree | 0c831ffaf44c7a77e9c635fb2d339968c68a01f0 /keyboards/rgbkb/sol/rev2 | |
parent | ac2e6e01f155811d0e206298f0d7cadcc9234603 (diff) |
Keyboards/sol rev2 fix (#13533)
* Fixed a recent develop error
* minor fix cause I am tired
Diffstat (limited to 'keyboards/rgbkb/sol/rev2')
-rw-r--r-- | keyboards/rgbkb/sol/rev2/config.h | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/keyboards/rgbkb/sol/rev2/config.h b/keyboards/rgbkb/sol/rev2/config.h index 360ccbc762..4ffcecc6bb 100644 --- a/keyboards/rgbkb/sol/rev2/config.h +++ b/keyboards/rgbkb/sol/rev2/config.h @@ -29,20 +29,30 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGB_DI_PIN B7 // Underglow / DIY Tent Glow are parallel to the top row leds, no separate define -#ifdef FULLHAND_ENABLE - #ifdef LED_MIRRORED +// Full Hand case adds 24 LEDs, Star Fighter case adds 38 LEDs +// For mirrored LED control (each MCU controls half the LEDs), total LED counts are divided in half +#ifdef LED_MIRRORED + #ifdef FULLHAND_ENABLE + #define FULLHAND_LEDS 24 #define RGBLED_NUM 74 - #else - #define RGBLED_NUM 148 - #endif -#elif SF_ENABLE - #ifdef LED_MIRRORED + #elif SF_ENABLE + #define FULLHAND_LEDS 38 #define RGBLED_NUM 81 #else - #define RGBLED_NUM 162 + #define FULLHAND_LEDS 0 + #define RGBLED_NUM 62 #endif #else - #define RGBLED_NUM 0 + #ifdef FULLHAND_ENABLE + #define FULLHAND_LEDS 24 + #define RGBLED_NUM 148 + #elif SF_ENABLE + #define FULLHAND_LEDS 38 + #define RGBLED_NUM 162 + #else + #define FULLHAND_LEDS 0 + #define RGBLED_NUM 124 + #endif #endif #define DRIVER_LED_TOTAL RGBLED_NUM |