Keep SPI active on LPC176x (#19932)
This commit is contained in:
		
							parent
							
								
									0c81d86cd4
								
							
						
					
					
						commit
						b590cee35a
					
				@ -263,8 +263,9 @@ uint16_t SPIClass::transfer16(const uint16_t data) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void SPIClass::end() {
 | 
			
		||||
  // SSP_Cmd(_currentSetting->spi_d, DISABLE);  // stop device or SSP_DeInit?
 | 
			
		||||
  SSP_DeInit(_currentSetting->spi_d);
 | 
			
		||||
  // Neither is needed for Marlin
 | 
			
		||||
  //SSP_Cmd(_currentSetting->spi_d, DISABLE);
 | 
			
		||||
  //SSP_DeInit(_currentSetting->spi_d);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void SPIClass::send(uint8_t data) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user