Update a comment.
This commit is contained in:
		
							parent
							
								
									ed19583c94
								
							
						
					
					
						commit
						c2c711d049
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								main.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								main.c
									
										
									
									
									
								
							|  | @ -117,7 +117,7 @@ uint8_t SendReceiveSPIByte(uint32_t value) | ||||||
| 	// Read a byte
 | 	// Read a byte
 | ||||||
| 	uint8_t inbyte = *(uint32_t *)(SPI1_BASE + 0x0c); | 	uint8_t inbyte = *(uint32_t *)(SPI1_BASE + 0x0c); | ||||||
| 	 | 	 | ||||||
| 	// Loop while the SPI BSY flag is high
 | 	// Loop waiting for the the SPI TXE flag to go high
 | ||||||
| 	while (lout == 0) | 	while (lout == 0) | ||||||
| 	{ | 	{ | ||||||
| 		// Read the SPI status register
 | 		// Read the SPI status register
 | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 IanW
						IanW