From c2c711d049d626d1e4be63135582979b9b6c7bee Mon Sep 17 00:00:00 2001 From: IanW Date: Wed, 12 Jun 2019 14:40:36 +0100 Subject: [PATCH] Update a comment. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index d913e72..c782705 100644 --- a/main.c +++ b/main.c @@ -117,7 +117,7 @@ uint8_t SendReceiveSPIByte(uint32_t value) // Read a byte 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) { // Read the SPI status register