[Bug] VIA compile fixes (#13626)
This commit is contained in:
		
							parent
							
								
									ec1a6f6b8b
								
							
						
					
					
						commit
						afc629210c
					
				
					 2 changed files with 12 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -132,7 +132,7 @@ static void render_info(void) {
 | 
			
		|||
    oled_write_P(led_state.caps_lock ? PSTR("CAP ") : PSTR("    "), false);
 | 
			
		||||
    oled_write_ln_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR("    "), false);
 | 
			
		||||
}
 | 
			
		||||
static void render_rgbled_status(bool) {
 | 
			
		||||
static void render_rgbled_status(void) {
 | 
			
		||||
    char string[4];
 | 
			
		||||
    if (RGBLIGHT_MODES > 1 && rgblight_is_enabled() && get_highest_layer(layer_state) == _RGB) {
 | 
			
		||||
        uint16_t m = rgblight_get_mode();
 | 
			
		||||
| 
						 | 
				
			
			@ -178,7 +178,7 @@ void oled_task_user(void) {
 | 
			
		|||
            finished_timer = true;
 | 
			
		||||
        }
 | 
			
		||||
        render_info();
 | 
			
		||||
        render_rgbled_status(true);
 | 
			
		||||
        render_rgbled_status();
 | 
			
		||||
        render_logo_font();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue