[AFSK] Reworked macro configuration system

This commit is contained in:
jgromes 2023-11-27 21:15:52 +01:00
parent 379c475d5e
commit fe0136b15c
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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;