From d96860f5e1d8c62a184daec1afd39f9957deae69 Mon Sep 17 00:00:00 2001 From: gloomyandy Date: Wed, 15 Apr 2020 19:20:25 +0100 Subject: [PATCH] Updated to match RRF --- src/LPC/LPCNetworking/ESP8266WiFi/WiFiInterface_LPC.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LPC/LPCNetworking/ESP8266WiFi/WiFiInterface_LPC.hpp b/src/LPC/LPCNetworking/ESP8266WiFi/WiFiInterface_LPC.hpp index a2ba17f0d..f83fcaeba 100644 --- a/src/LPC/LPCNetworking/ESP8266WiFi/WiFiInterface_LPC.hpp +++ b/src/LPC/LPCNetworking/ESP8266WiFi/WiFiInterface_LPC.hpp @@ -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(); @@ -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;