[Si443x] Added low-level access macro
This commit is contained in:
parent
e9f1f940a2
commit
aac11097b2
4 changed files with 12 additions and 8 deletions
|
@ -67,11 +67,11 @@ class Si4430: public Si4432 {
|
|||
int16_t setOutputPower(int8_t power);
|
||||
|
||||
|
||||
#ifndef RADIOLIB_GODMODE
|
||||
#if !defined(RADIOLIB_GODMODE)
|
||||
protected:
|
||||
#endif
|
||||
|
||||
#ifndef RADIOLIB_GODMODE
|
||||
#if !defined(RADIOLIB_GODMODE)
|
||||
private:
|
||||
#endif
|
||||
};
|
||||
|
|
|
@ -58,11 +58,11 @@ class Si4431: public Si4432 {
|
|||
int16_t setOutputPower(int8_t power);
|
||||
|
||||
|
||||
#ifndef RADIOLIB_GODMODE
|
||||
#if !defined(RADIOLIB_GODMODE)
|
||||
protected:
|
||||
#endif
|
||||
|
||||
#ifndef RADIOLIB_GODMODE
|
||||
#if !defined(RADIOLIB_GODMODE)
|
||||
private:
|
||||
#endif
|
||||
};
|
||||
|
|
|
@ -67,11 +67,11 @@ class Si4432: public Si443x {
|
|||
int16_t setOutputPower(int8_t power);
|
||||
|
||||
|
||||
#ifndef RADIOLIB_GODMODE
|
||||
#if !defined(RADIOLIB_GODMODE)
|
||||
protected:
|
||||
#endif
|
||||
|
||||
#ifndef RADIOLIB_GODMODE
|
||||
#if !defined(RADIOLIB_GODMODE)
|
||||
private:
|
||||
#endif
|
||||
};
|
||||
|
|
|
@ -799,11 +799,15 @@ class Si443x: public PhysicalLayer {
|
|||
*/
|
||||
int16_t getChipVersion();
|
||||
|
||||
#ifndef RADIOLIB_GODMODE
|
||||
#if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
|
||||
protected:
|
||||
#endif
|
||||
Module* _mod;
|
||||
|
||||
#if !defined(RADIOLIB_GODMODE)
|
||||
protected:
|
||||
#endif
|
||||
|
||||
float _br = 0;
|
||||
float _freqDev = 0;
|
||||
float _freq = 0;
|
||||
|
@ -813,7 +817,7 @@ class Si443x: public PhysicalLayer {
|
|||
|
||||
int16_t setFrequencyRaw(float newFreq);
|
||||
|
||||
#ifndef RADIOLIB_GODMODE
|
||||
#if !defined(RADIOLIB_GODMODE)
|
||||
private:
|
||||
#endif
|
||||
bool findChip();
|
||||
|
|
Loading…
Add table
Reference in a new issue