Keyboards/sol rev2 fix (#13533)
* Fixed a recent develop error * minor fix cause I am tired
This commit is contained in:
parent
ac2e6e01f1
commit
1ae4d52013
1 changed files with 19 additions and 9 deletions
|
@ -29,20 +29,30 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define RGB_DI_PIN B7
|
#define RGB_DI_PIN B7
|
||||||
|
|
||||||
// Underglow / DIY Tent Glow are parallel to the top row leds, no separate define
|
// Underglow / DIY Tent Glow are parallel to the top row leds, no separate define
|
||||||
|
// 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
|
#ifdef FULLHAND_ENABLE
|
||||||
#ifdef LED_MIRRORED
|
#define FULLHAND_LEDS 24
|
||||||
#define RGBLED_NUM 74
|
#define RGBLED_NUM 74
|
||||||
#else
|
|
||||||
#define RGBLED_NUM 148
|
|
||||||
#endif
|
|
||||||
#elif SF_ENABLE
|
#elif SF_ENABLE
|
||||||
#ifdef LED_MIRRORED
|
#define FULLHAND_LEDS 38
|
||||||
#define RGBLED_NUM 81
|
#define RGBLED_NUM 81
|
||||||
#else
|
#else
|
||||||
#define RGBLED_NUM 162
|
#define FULLHAND_LEDS 0
|
||||||
|
#define RGBLED_NUM 62
|
||||||
#endif
|
#endif
|
||||||
#else
|
#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
|
#endif
|
||||||
|
|
||||||
#define DRIVER_LED_TOTAL RGBLED_NUM
|
#define DRIVER_LED_TOTAL RGBLED_NUM
|
||||||
|
|
Loading…
Reference in a new issue