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 | |
parent | ac2e6e01f155811d0e206298f0d7cadcc9234603 (diff) | |
download | qmk_firmware-1ae4d52013c9f38bdc5c208ff8bbfdf173e1dddd.tar.gz qmk_firmware-1ae4d52013c9f38bdc5c208ff8bbfdf173e1dddd.zip |
Keyboards/sol rev2 fix (#13533)
* Fixed a recent develop error
* minor fix cause I am tired
-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 360ccbc76..4ffcecc6b 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/>. | |||
29 | #define RGB_DI_PIN B7 | 29 | #define RGB_DI_PIN B7 |
30 | 30 | ||
31 | // Underglow / DIY Tent Glow are parallel to the top row leds, no separate define | 31 | // Underglow / DIY Tent Glow are parallel to the top row leds, no separate define |
32 | #ifdef FULLHAND_ENABLE | 32 | // Full Hand case adds 24 LEDs, Star Fighter case adds 38 LEDs |
33 | #ifdef LED_MIRRORED | 33 | // For mirrored LED control (each MCU controls half the LEDs), total LED counts are divided in half |
34 | #ifdef LED_MIRRORED | ||
35 | #ifdef FULLHAND_ENABLE | ||
36 | #define FULLHAND_LEDS 24 | ||
34 | #define RGBLED_NUM 74 | 37 | #define RGBLED_NUM 74 |
35 | #else | 38 | #elif SF_ENABLE |
36 | #define RGBLED_NUM 148 | 39 | #define FULLHAND_LEDS 38 |
37 | #endif | ||
38 | #elif SF_ENABLE | ||
39 | #ifdef LED_MIRRORED | ||
40 | #define RGBLED_NUM 81 | 40 | #define RGBLED_NUM 81 |
41 | #else | 41 | #else |
42 | #define RGBLED_NUM 162 | 42 | #define FULLHAND_LEDS 0 |
43 | #define RGBLED_NUM 62 | ||
43 | #endif | 44 | #endif |
44 | #else | 45 | #else |
45 | #define RGBLED_NUM 0 | 46 | #ifdef FULLHAND_ENABLE |
47 | #define FULLHAND_LEDS 24 | ||
48 | #define RGBLED_NUM 148 | ||
49 | #elif SF_ENABLE | ||
50 | #define FULLHAND_LEDS 38 | ||
51 | #define RGBLED_NUM 162 | ||
52 | #else | ||
53 | #define FULLHAND_LEDS 0 | ||
54 | #define RGBLED_NUM 124 | ||
55 | #endif | ||
46 | #endif | 56 | #endif |
47 | 57 | ||
48 | #define DRIVER_LED_TOTAL RGBLED_NUM | 58 | #define DRIVER_LED_TOTAL RGBLED_NUM |