[SX1231] Reworked macro configuration system
This commit is contained in:
parent
827aac5938
commit
379c475d5e
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
#include "SX1231.h"
|
#include "SX1231.h"
|
||||||
#if !defined(RADIOLIB_EXCLUDE_SX1231)
|
#if !RADIOLIB_EXCLUDE_SX1231
|
||||||
|
|
||||||
SX1231::SX1231(Module* mod) : RF69(mod) {
|
SX1231::SX1231(Module* mod) : RF69(mod) {
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include "../../TypeDef.h"
|
#include "../../TypeDef.h"
|
||||||
|
|
||||||
#if !defined(RADIOLIB_EXCLUDE_SX1231)
|
#if !RADIOLIB_EXCLUDE_SX1231
|
||||||
|
|
||||||
#include "../../Module.h"
|
#include "../../Module.h"
|
||||||
#include "../RF69/RF69.h"
|
#include "../RF69/RF69.h"
|
||||||
|
@ -110,7 +110,7 @@ class SX1231: public RF69 {
|
||||||
*/
|
*/
|
||||||
int16_t begin(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 125.0, int8_t power = 10, uint8_t preambleLen = 16);
|
int16_t begin(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 125.0, int8_t power = 10, uint8_t preambleLen = 16);
|
||||||
|
|
||||||
#if !defined(RADIOLIB_GODMODE)
|
#if !RADIOLIB_GODMODE
|
||||||
private:
|
private:
|
||||||
#endif
|
#endif
|
||||||
uint8_t chipRevision = 0;
|
uint8_t chipRevision = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue