From e5493618a476170077f734d52573d40cfc600747 Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Sun, 31 Mar 2024 14:43:30 -0500 Subject: [PATCH] Update ArduinoHal.h to make spi and friends protected (#1044) Most of the "override" functions here can't actually be overridden in a useful way when spi, spiSettings, and everything else is marked private. If everything is override, then nothing should be private. --- src/ArduinoHal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ArduinoHal.h b/src/ArduinoHal.h index 00074c1d..2fa8b5d6 100644 --- a/src/ArduinoHal.h +++ b/src/ArduinoHal.h @@ -60,7 +60,7 @@ class ArduinoHal : public RadioLibHal { uint32_t pinToInterrupt(uint32_t pin) override; #if !RADIOLIB_GODMODE - private: + protected: #endif SPIClass* spi = NULL; SPISettings spiSettings = RADIOLIB_DEFAULT_SPI_SETTINGS;