Rename RGBLED_NUM -> RGBLIGHT_LED_COUNT (#22570)
				
					
				
			This commit is contained in:
		
							parent
							
								
									3c7e9a6827
								
							
						
					
					
						commit
						e648155113
					
				
					 90 changed files with 254 additions and 263 deletions
				
			
		| 
						 | 
				
			
			@ -50,20 +50,20 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
// Helix keyboard RGB LED support
 | 
			
		||||
//    see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes
 | 
			
		||||
#ifdef RGBLED_BACK
 | 
			
		||||
  #define RGBLED_NUM 25
 | 
			
		||||
  #define RGBLIGHT_LED_COUNT 25
 | 
			
		||||
#else
 | 
			
		||||
  #define RGBLED_NUM 6
 | 
			
		||||
  #define RGBLIGHT_LED_COUNT 6
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef IOS_DEVICE_ENABLE
 | 
			
		||||
  #if RGBLED_NUM <= 6
 | 
			
		||||
  #if RGBLIGHT_LED_COUNT <= 6
 | 
			
		||||
    #define RGBLIGHT_LIMIT_VAL 255
 | 
			
		||||
  #else
 | 
			
		||||
    #define RGBLIGHT_LIMIT_VAL 130
 | 
			
		||||
  #endif
 | 
			
		||||
  #define RGBLIGHT_VAL_STEP 17
 | 
			
		||||
#else
 | 
			
		||||
  #if RGBLED_NUM <= 6
 | 
			
		||||
  #if RGBLIGHT_LED_COUNT <= 6
 | 
			
		||||
    #define RGBLIGHT_LIMIT_VAL 90
 | 
			
		||||
  #else
 | 
			
		||||
    #define RGBLIGHT_LIMIT_VAL 45
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue