[RF69] Added low-level access macro

This commit is contained in:
jgromes 2021-03-13 19:57:11 +01:00
parent 49c082bfd0
commit 79296af398

View file

@ -837,11 +837,15 @@ class RF69: public PhysicalLayer {
*/ */
int16_t getChipVersion(); int16_t getChipVersion();
#ifndef RADIOLIB_GODMODE #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
protected: protected:
#endif #endif
Module* _mod; Module* _mod;
#if !defined(RADIOLIB_GODMODE)
protected:
#endif
float _br = 0; float _br = 0;
float _rxBw = 0; float _rxBw = 0;
int16_t _tempOffset = 0; int16_t _tempOffset = 0;
@ -859,7 +863,7 @@ class RF69: public PhysicalLayer {
int16_t directMode(); int16_t directMode();
int16_t setPacketMode(uint8_t mode, uint8_t len); int16_t setPacketMode(uint8_t mode, uint8_t len);
#ifndef RADIOLIB_GODMODE #if !defined(RADIOLIB_GODMODE)
private: private:
#endif #endif
int16_t setMode(uint8_t mode); int16_t setMode(uint8_t mode);