🐛 HAL refactor followup (#23354)

This commit is contained in:
Robby Candra
2021-12-26 10:36:09 +07:00
committed by GitHub
parent 57315f02cb
commit a47f559db1
5 changed files with 5 additions and 5 deletions

View File

@@ -104,7 +104,7 @@ static SPISettings spiConfig;
uint8_t spiRec() {
hal.isr_off(); // No interrupts during byte receive
const uint8_t data = HAL_SPI_STM32_SpiTransfer_Mode_3(0xFF);
hal.isr_off(); // Enable interrupts
hal.isr_on(); // Enable interrupts
return data;
}