Make sure 'shutdown_user' is called
This commit is contained in:
		
							parent
							
								
									ef5b161bb5
								
							
						
					
					
						commit
						a2b4178245
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -158,6 +158,7 @@ void reset_keyboard(void) {
 | 
				
			||||||
    wait_ms(1);
 | 
					    wait_ms(1);
 | 
				
			||||||
  stop_all_notes();
 | 
					  stop_all_notes();
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
 | 
					  shutdown_user();
 | 
				
			||||||
  wait_ms(250);
 | 
					  wait_ms(250);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
// this is also done later in bootloader.c - not sure if it's neccesary here
 | 
					// this is also done later in bootloader.c - not sure if it's neccesary here
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue