Skip to content

Commit

Permalink
Fix Sol2 rev2 config
Browse files Browse the repository at this point in the history
Fixed Sol2 rev2 config.h. It was not building after changes from qmk#13349
where defines were streamlined to eliminate a compile warning.

* reintroduced FULLHAND_LEDS define (required in rev2.c to calculate LED
position offset)
* change default RGBLED_NUM when neither FULLHAND nor SF is enabled (was
0 instead 124)
  • Loading branch information
haldiraros committed Jul 12, 2021
1 parent a62b101 commit 5dd873a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion keyboards/rgbkb/sol/rev2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,22 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

// Underglow / DIY Tent Glow are parallel to the top row leds, no separate define
#ifdef FULLHAND_ENABLE
#define FULLHAND_LEDS 24
#ifdef LED_MIRRORED
#define RGBLED_NUM 74
#else
#define RGBLED_NUM 148
#endif
#elif SF_ENABLE
#define FULLHAND_LEDS 38
#ifdef LED_MIRRORED
#define RGBLED_NUM 81
#else
#define RGBLED_NUM 162
#endif
#else
#define RGBLED_NUM 0
#define FULLHAND_LEDS 0
#define RGBLED_NUM 124
#endif

#define DRIVER_LED_TOTAL RGBLED_NUM
Expand Down

0 comments on commit 5dd873a

Please sign in to comment.