Fix bug of FAILSAFE key clear.
http://deskthority.net/workshop-f7/tmk-keyboard-firmware-collection-t4478.html#p90022
This commit is contained in:
		
							parent
							
								
									cf1eb8fbc6
								
							
						
					
					
						commit
						5af988ac37
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -619,6 +619,10 @@ void keyboard_task(void)
 | 
			
		|||
            Kdebug("FAIL SAFE: clear all keys(default layer).\n");
 | 
			
		||||
            clear_keyboard();
 | 
			
		||||
            current_layer = default_layer;
 | 
			
		||||
            fn_state_bits = 0;
 | 
			
		||||
            delayed_fn = (keyrecord_t){};
 | 
			
		||||
            waiting_key = (keyrecord_t){};
 | 
			
		||||
            NEXT(IDLE);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue