Fix errors with matrix_output_unselect_delay function calls (#13645)
This commit is contained in:
		
							parent
							
								
									750f40566a
								
							
						
					
					
						commit
						816accda3d
					
				
					 5 changed files with 59 additions and 58 deletions
				
			
		| 
						 | 
				
			
			@ -4,9 +4,9 @@
 | 
			
		|||
/* In tmk_core/common/wait.h, the implementation for PROTOCOL_CHIBIOS
 | 
			
		||||
 * calls 'chThdSleepMicroseconds(1)' when 'wait_us(0)'.
 | 
			
		||||
 * However, 'wait_us(0)' should do nothing. */
 | 
			
		||||
void matrix_output_unselect_delay(void) {
 | 
			
		||||
#   if !defined(MATRIX_IO_DELAY) || MATRIX_IO_DELAY > 0
 | 
			
		||||
void matrix_output_unselect_delay(uint8_t line, bool key_pressed) {
 | 
			
		||||
#    if !defined(MATRIX_IO_DELAY) || MATRIX_IO_DELAY > 0
 | 
			
		||||
    matrix_io_delay();
 | 
			
		||||
#   endif
 | 
			
		||||
#    endif
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue