[SX1231] Reworked driver exclusion

pull/163/head
jgromes 2020-06-30 10:43:26 +02:00
rodzic 04ea05c7ec
commit 893d8a905f
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -1,4 +1,5 @@
#include "SX1231.h"
#if !defined(RADIOLIB_EXCLUDE_RF69)
SX1231::SX1231(Module* mod) : RF69(mod) {
@ -92,3 +93,5 @@ int16_t SX1231::begin(float freq, float br, float rxBw, float freqDev, int8_t po
return(ERR_NONE);
}
#endif

Wyświetl plik

@ -1,4 +1,4 @@
#ifndef _RADIOLIB_SX1231_H
#if !defined(_RADIOLIB_SX1231_H) && !defined(RADIOLIB_EXCLUDE_RF69)
#define _RADIOLIB_SX1231_H
#include "../../TypeDef.h"