forked from mirrors/qmk_userspace
		
	lets_split: Fix matrix_init for ROW2COL
Signed-off-by: Marian Rusu <rusumarian91@gmail.com>
This commit is contained in:
		
					parent
					
						
							
								43edc83998
							
						
					
				
			
			
				commit
				
					
						3f1aab0c2e
					
				
			
		
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -128,8 +128,13 @@ void matrix_init(void)
 | 
				
			||||||
    debug_matrix = true;
 | 
					    debug_matrix = true;
 | 
				
			||||||
    debug_mouse = true;
 | 
					    debug_mouse = true;
 | 
				
			||||||
    // initialize row and col
 | 
					    // initialize row and col
 | 
				
			||||||
 | 
					#if (DIODE_DIRECTION == COL2ROW)
 | 
				
			||||||
    unselect_rows();
 | 
					    unselect_rows();
 | 
				
			||||||
    init_cols();
 | 
					    init_cols();
 | 
				
			||||||
 | 
					#elif (DIODE_DIRECTION == ROW2COL)
 | 
				
			||||||
 | 
					    unselect_cols();
 | 
				
			||||||
 | 
					    init_rows();
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    TX_RX_LED_INIT;
 | 
					    TX_RX_LED_INIT;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue