[keyboard] DC01 i2c timeout fix (#16392)
This commit is contained in:
		
							parent
							
								
									0b21fbc37b
								
							
						
					
					
						commit
						83b9483045
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -55,7 +55,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
// #define BACKLIGHT_LEVELS 3
 | 
			
		||||
 | 
			
		||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
 | 
			
		||||
#define DEBOUNCE 5
 | 
			
		||||
#define DEBOUNCE 0
 | 
			
		||||
 | 
			
		||||
/* define if matrix has ghost (lacks anti-ghosting diodes) */
 | 
			
		||||
//#define MATRIX_HAS_GHOST
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -419,7 +419,7 @@ static void unselect_cols(void)
 | 
			
		|||
 | 
			
		||||
// Complete rows from other modules over i2c
 | 
			
		||||
i2c_status_t i2c_transaction(uint8_t address, uint32_t mask, uint8_t col_offset) {
 | 
			
		||||
    i2c_status_t status = i2c_start(address, 50);
 | 
			
		||||
    i2c_status_t status = i2c_start(address, 5);
 | 
			
		||||
    if (status < 0) {
 | 
			
		||||
        goto error;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue