Keyboards/sol rev2 fix (#13533)

* Fixed a recent develop error

* minor fix cause I am tired
This commit is contained in:
XScorpion2 2021-07-13 03:45:31 -05:00 committed by GitHub
parent ac2e6e01f1
commit 1ae4d52013
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 9 deletions

View File

@ -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
// 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 LED_MIRRORED
#define FULLHAND_LEDS 24
#define RGBLED_NUM 74
#else
#define RGBLED_NUM 148
#endif
#elif SF_ENABLE
#ifdef LED_MIRRORED
#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