[AFSK] Reworked macro configuration system
This commit is contained in:
parent
379c475d5e
commit
fe0136b15c
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
#include "AFSK.h"
|
#include "AFSK.h"
|
||||||
#if !defined(RADIOLIB_EXCLUDE_AFSK)
|
#if !RADIOLIB_EXCLUDE_AFSK
|
||||||
|
|
||||||
AFSKClient::AFSKClient(PhysicalLayer* phy, uint32_t pin): outPin(pin) {
|
AFSKClient::AFSKClient(PhysicalLayer* phy, uint32_t pin): outPin(pin) {
|
||||||
phyLayer = phy;
|
phyLayer = phy;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include "../../TypeDef.h"
|
#include "../../TypeDef.h"
|
||||||
|
|
||||||
#if !defined(RADIOLIB_EXCLUDE_AFSK)
|
#if !RADIOLIB_EXCLUDE_AFSK
|
||||||
|
|
||||||
#include "../../Module.h"
|
#include "../../Module.h"
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ class AFSKClient {
|
||||||
*/
|
*/
|
||||||
int16_t noTone(bool keepOn = false);
|
int16_t noTone(bool keepOn = false);
|
||||||
|
|
||||||
#if !defined(RADIOLIB_GODMODE)
|
#if !RADIOLIB_GODMODE
|
||||||
private:
|
private:
|
||||||
#endif
|
#endif
|
||||||
PhysicalLayer* phyLayer;
|
PhysicalLayer* phyLayer;
|
||||||
|
|
Loading…
Add table
Reference in a new issue