Whitespace cleanup
This commit is contained in:
		@@ -155,9 +155,9 @@ uint16_t XPT2046::getRawData(const XPTCoordinate coordinate) {
 | 
			
		||||
 | 
			
		||||
uint16_t XPT2046::HardwareIO(uint16_t data) {
 | 
			
		||||
  __HAL_SPI_ENABLE(&SPIx);
 | 
			
		||||
  while((SPIx.Instance->SR & SPI_FLAG_TXE) != SPI_FLAG_TXE) {}
 | 
			
		||||
  while ((SPIx.Instance->SR & SPI_FLAG_TXE) != SPI_FLAG_TXE) {}
 | 
			
		||||
  SPIx.Instance->DR = data;
 | 
			
		||||
  while((SPIx.Instance->SR & SPI_FLAG_RXNE) != SPI_FLAG_RXNE) {}
 | 
			
		||||
  while ((SPIx.Instance->SR & SPI_FLAG_RXNE) != SPI_FLAG_RXNE) {}
 | 
			
		||||
  __HAL_SPI_DISABLE(&SPIx);
 | 
			
		||||
 | 
			
		||||
  return SPIx.Instance->DR;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user