Fix functions with empty params (#19647)
* Fix functions with empty params * Found a bunch more
This commit is contained in:
		
							parent
							
								
									0f77ae6a20
								
							
						
					
					
						commit
						cf935d97ae
					
				
					 170 changed files with 276 additions and 276 deletions
				
			
		| 
						 | 
				
			
			@ -36,9 +36,9 @@ const encoder_callback encoder_mapping[][2] = {
 | 
			
		|||
 | 
			
		||||
// clang-format on
 | 
			
		||||
 | 
			
		||||
void volume_up() { tap_code(KC_VOLU); }
 | 
			
		||||
void volume_up(void) { tap_code(KC_VOLU); }
 | 
			
		||||
 | 
			
		||||
void volume_down() { tap_code(KC_VOLD); }
 | 
			
		||||
void volume_down(void) { tap_code(KC_VOLD); }
 | 
			
		||||
 | 
			
		||||
bool encoder_update_user(uint8_t index, bool clockwise) {
 | 
			
		||||
    dprintf("current encoder state is: %d\n", state);
 | 
			
		||||
| 
						 | 
				
			
			@ -65,7 +65,7 @@ void handle_rgb_key(bool pressed) {
 | 
			
		|||
 | 
			
		||||
static KeyPressState *rgb_state;
 | 
			
		||||
 | 
			
		||||
void keyboard_post_init_encoder() {
 | 
			
		||||
void keyboard_post_init_encoder(void) {
 | 
			
		||||
    rgb_state = NewKeyPressState(handle_rgb_key);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue