[ESP8266] Added low-level access macro
This commit is contained in:
parent
2500534317
commit
49c082bfd0
1 changed files with 6 additions and 2 deletions
|
@ -55,10 +55,14 @@ class ESP8266: public TransportLayer {
|
||||||
size_t receive(uint8_t* data, size_t len, uint32_t timeout = 10000) override;
|
size_t receive(uint8_t* data, size_t len, uint32_t timeout = 10000) override;
|
||||||
size_t getNumBytes(uint32_t timeout = 10000, size_t minBytes = 10) override;
|
size_t getNumBytes(uint32_t timeout = 10000, size_t minBytes = 10) override;
|
||||||
|
|
||||||
#ifndef RADIOLIB_GODMODE
|
#if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
|
||||||
private:
|
protected:
|
||||||
#endif
|
#endif
|
||||||
Module* _mod;
|
Module* _mod;
|
||||||
|
|
||||||
|
#if !defined(RADIOLIB_GODMODE)
|
||||||
|
protected:
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue