|  | @@ -1695,6 +1695,12 @@ void diskDataOut()
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              platform_set_sd_callback(NULL, NULL);
 | 
	
		
			
				|  |  |              g_disk_transfer.bytes_sd += len;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            // Reset the watchdog while the transfer is progressing.
 | 
	
		
			
				|  |  | +            // If the host stops transferring, the watchdog will eventually expire.
 | 
	
		
			
				|  |  | +            // This is needed to avoid hitting the watchdog if the host performs
 | 
	
		
			
				|  |  | +            // a large transfer compared to its transfer speed.
 | 
	
		
			
				|  |  | +            platform_reset_watchdog();
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -1868,6 +1874,12 @@ static void start_dataInTransfer(uint8_t *buffer, uint32_t count)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      platform_poll();
 | 
	
		
			
				|  |  |      diskEjectButtonUpdate(false);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    // Reset the watchdog while the transfer is progressing.
 | 
	
		
			
				|  |  | +    // If the host stops transferring, the watchdog will eventually expire.
 | 
	
		
			
				|  |  | +    // This is needed to avoid hitting the watchdog if the host performs
 | 
	
		
			
				|  |  | +    // a large transfer compared to its transfer speed.
 | 
	
		
			
				|  |  | +    platform_reset_watchdog();
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  static void diskDataIn()
 |