Change rgblight_get_mode & rgb_matrix_get_mode's return type to uint8_t. (#4747)
* Change rgblight_get_mode's return type to uint8_t. Since rgblight_get_mode() is just returning rgblight_config_t.mode, it should match rgblight_config_t.mode's type: uint8_t. * Update rgb_matrix_get_mode to return uint8_t.
This commit is contained in:
		
							parent
							
								
									0c0e208a36
								
							
						
					
					
						commit
						b7688590b8
					
				
					 5 changed files with 5 additions and 5 deletions
				
			
		|  | @ -234,7 +234,7 @@ void rgblight_step_reverse(void) { | |||
|   rgblight_step_reverse_helper(true); | ||||
| } | ||||
| 
 | ||||
| uint32_t rgblight_get_mode(void) { | ||||
| uint8_t rgblight_get_mode(void) { | ||||
|   if (!rgblight_config.enable) { | ||||
|     return false; | ||||
|   } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 David Dai
						David Dai