Fix tapping count over flow(issue #52)
This commit is contained in:
		
							parent
							
								
									893ff0a799
								
							
						
					
					
						commit
						c274cc8cdc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -206,7 +206,7 @@ bool process_tapping(keyrecord_t *keyp)
 | 
			
		|||
                    if (!tapping_key.tap.interrupted && tapping_key.tap.count > 0) {
 | 
			
		||||
                        // sequential tap.
 | 
			
		||||
                        keyp->tap = tapping_key.tap;
 | 
			
		||||
                        keyp->tap.count += 1;
 | 
			
		||||
                        if (keyp->tap.count < 15) keyp->tap.count += 1;
 | 
			
		||||
                        debug("Tapping: Tap press("); debug_dec(keyp->tap.count); debug(")\n");
 | 
			
		||||
                        process_action(keyp);
 | 
			
		||||
                        tapping_key = *keyp;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue