Move encoder_read to common location (#9003)
This commit is contained in:
		
						commit
						d17572b125
					
				
					 3 changed files with 11 additions and 18 deletions
				
			
		|  | @ -46,10 +46,6 @@ extern backlight_config_t backlight_config; | |||
| #    include "haptic.h" | ||||
| #endif | ||||
| 
 | ||||
| #ifdef ENCODER_ENABLE | ||||
| #    include "encoder.h" | ||||
| #endif | ||||
| 
 | ||||
| #ifdef AUDIO_ENABLE | ||||
| #    ifndef GOODBYE_SONG | ||||
| #        define GOODBYE_SONG SONG(GOODBYE_SOUND) | ||||
|  | @ -618,9 +614,6 @@ void matrix_init_quantum() { | |||
| #ifdef RGB_MATRIX_ENABLE | ||||
|     rgb_matrix_init(); | ||||
| #endif | ||||
| #ifdef ENCODER_ENABLE | ||||
|     encoder_init(); | ||||
| #endif | ||||
| #if defined(UNICODE_ENABLE) || defined(UNICODEMAP_ENABLE) || defined(UCIS_ENABLE) | ||||
|     unicode_input_mode_init(); | ||||
| #endif | ||||
|  | @ -655,10 +648,6 @@ void matrix_scan_quantum() { | |||
|     rgb_matrix_task(); | ||||
| #endif | ||||
| 
 | ||||
| #ifdef ENCODER_ENABLE | ||||
|     encoder_read(); | ||||
| #endif | ||||
| 
 | ||||
| #ifdef WPM_ENABLE | ||||
|     decay_wpm(); | ||||
| #endif | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Joel Challis
						Joel Challis