Expose rgb_matrix_update_pwm_buffers to be available in keymaps (#24573)
* Expose rgb_matrix_update_pwm_buffers to be available in keymaps Exposing this API enables the examples in the keyboard shutdown/reboot documentation to compile instead of calling `rgb_matrix_driver.flush` directly. * Remove extraneous rgb_matrix_update_pwm_buffers prototype declarations Now that `rgb_matrix_update_pwm_buffers` is public, there isn't the need for local prototype declarations.
This commit is contained in:
		
							parent
							
								
									b17322b9b8
								
							
						
					
					
						commit
						9523ed9e32
					
				
					 4 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -393,7 +393,6 @@ bool shutdown_kb(bool jump_to_bootloader) {
 | 
			
		|||
    rgblight_setrgb(RGB_RED);
 | 
			
		||||
#endif // RGBLIGHT_ENABLE
 | 
			
		||||
#ifdef RGB_MATRIX_ENABLE
 | 
			
		||||
    void rgb_matrix_update_pwm_buffers(void);
 | 
			
		||||
    rgb_matrix_set_color_all(RGB_RED);
 | 
			
		||||
    rgb_matrix_update_pwm_buffers();
 | 
			
		||||
#endif // RGB_MATRIX_ENABLE
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue