Skip to content

Commit

Permalink
Updated to match RRF
Browse files Browse the repository at this point in the history
  • Loading branch information
gloomyandy committed Apr 15, 2020
1 parent 5f772ef commit d96860f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LPC/LPCNetworking/ESP8266WiFi/WiFiInterface_LPC.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ static inline void spi_tx_dma_disable()
LPC_SSP0->DMACR &= ~SSP_DMA_TX;
}

static inline void spi_dma_disable()
static inline void spi_dma_disable() noexcept
{
spi_tx_dma_disable();
spi_rx_dma_disable();
Expand All @@ -52,7 +52,7 @@ static inline void spi_dma_enable()
spi_tx_dma_enable();
}

static bool spi_dma_check_rx_complete()
static bool spi_dma_check_rx_complete() noexcept
{
//DMA Interrupt will notifiy when transfer is complete, just return true here
return true;
Expand Down

0 comments on commit d96860f

Please sign in to comment.