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.
This commit is contained in:
parent
9daf4c4f26
commit
e5493618a4
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class ArduinoHal : public RadioLibHal {
|
||||||
uint32_t pinToInterrupt(uint32_t pin) override;
|
uint32_t pinToInterrupt(uint32_t pin) override;
|
||||||
|
|
||||||
#if !RADIOLIB_GODMODE
|
#if !RADIOLIB_GODMODE
|
||||||
private:
|
protected:
|
||||||
#endif
|
#endif
|
||||||
SPIClass* spi = NULL;
|
SPIClass* spi = NULL;
|
||||||
SPISettings spiSettings = RADIOLIB_DEFAULT_SPI_SETTINGS;
|
SPISettings spiSettings = RADIOLIB_DEFAULT_SPI_SETTINGS;
|
||||||
|
|
Loading…
Add table
Reference in a new issue