Rename RGB/HSV structs: keyboard-level code (#24476)
This commit is contained in:
		
							parent
							
								
									5478051d74
								
							
						
					
					
						commit
						9884e4982b
					
				
					 43 changed files with 215 additions and 215 deletions
				
			
		| 
						 | 
				
			
			@ -103,9 +103,9 @@ static void update_ticks(void)
 | 
			
		|||
static void self_testing(void)
 | 
			
		||||
{
 | 
			
		||||
    if (timer_elapsed(rgb_state.ticks) < ST_INTERVAL) return;
 | 
			
		||||
    HSV hsv = rgblight_get_hsv();
 | 
			
		||||
    hsv_t hsv = rgblight_get_hsv();
 | 
			
		||||
 | 
			
		||||
    RGB led = hsv_to_rgb(hsv);
 | 
			
		||||
    rgb_t led = hsv_to_rgb(hsv);
 | 
			
		||||
    switch(rgb_state.testing) {
 | 
			
		||||
        case ST_STAGE_1:
 | 
			
		||||
            if (rgb_state.index !=0 ) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -104,12 +104,12 @@ static void update_ticks(void)
 | 
			
		|||
static void self_testing(void)
 | 
			
		||||
{
 | 
			
		||||
    if (timer_elapsed(rgb_state.ticks) < ST_INTERVAL) return;
 | 
			
		||||
    HSV hsv;
 | 
			
		||||
    hsv_t hsv;
 | 
			
		||||
    hsv.h = rgblight_config.hue;
 | 
			
		||||
    hsv.s = rgblight_config.sat;
 | 
			
		||||
    hsv.v = rgblight_config.val;
 | 
			
		||||
 | 
			
		||||
    RGB led = hsv_to_rgb(hsv);
 | 
			
		||||
    rgb_t led = hsv_to_rgb(hsv);
 | 
			
		||||
    switch(rgb_state.testing) {
 | 
			
		||||
        case ST_STAGE_1:
 | 
			
		||||
            if (rgb_state.index !=0 ) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue