mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-11-03 23:02:34 +01:00 
			
		
		
		
	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
					
				@ -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
 | 
				
			||||||
#ifdef FULLHAND_ENABLE
 | 
					// Full Hand case adds 24 LEDs, Star Fighter case adds 38 LEDs
 | 
				
			||||||
  #ifdef LED_MIRRORED
 | 
					// 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
 | 
					    #define RGBLED_NUM 74
 | 
				
			||||||
  #else
 | 
					  #elif SF_ENABLE
 | 
				
			||||||
    #define RGBLED_NUM 148
 | 
					    #define FULLHAND_LEDS 38
 | 
				
			||||||
  #endif
 | 
					 | 
				
			||||||
#elif SF_ENABLE
 | 
					 | 
				
			||||||
  #ifdef LED_MIRRORED
 | 
					 | 
				
			||||||
    #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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user