diff --git a/main.c b/main.c --- a/main.c +++ b/main.c @@ -164,7 +164,6 @@ void update_temp() { // Assert CS HAL_GPIO_WritePin(MAX_CS, 0); - HAL_Delay(100); uint8_t rxdatah[1] = {0x00}; uint8_t rxdatal[1] = {0x00}; @@ -173,7 +172,6 @@ void update_temp() { HAL_SPI_Receive(&hspi1, rxdatal, 1, 100); // Release CS - HAL_Delay(1); HAL_GPIO_WritePin(MAX_CS, 1); // Assemble data array into one var