[XBee] Reworked driver exclusion

This commit is contained in:
jgromes 2020-06-30 10:44:33 +02:00
parent f05f1e9d82
commit 78c1f94233
2 changed files with 4 additions and 1 deletions

View file

@ -1,4 +1,5 @@
#include "XBee.h"
#if !defined(RADIOLIB_EXCLUDE_XBEE)
XBee::XBee(Module* mod) {
_mod = mod;
@ -481,3 +482,5 @@ uint16_t XBee::getNumBytes(uint32_t timeout, size_t minBytes) {
return((resp[1] << 8) | resp[2]);
}
#endif

View file

@ -1,4 +1,4 @@
#ifndef _RADIOLIB_XBEE_H
#if !defined(_RADIOLIB_XBEE_H) && !defined(RADIOLIB_EXCLUDE_XBEE)
#define _RADIOLIB_XBEE_H
#include "../../ISerial.h"