Skip to content

Commit

Permalink
Update ArduinoHal.h to make spi and friends protected (#1044)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jp-bennett authored Mar 31, 2024
1 parent 9daf4c4 commit e549361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ArduinoHal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e549361

Please sign in to comment.