[XBee] Reworked driver exclusion
This commit is contained in:
parent
f05f1e9d82
commit
78c1f94233
2 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
#include "XBee.h"
|
#include "XBee.h"
|
||||||
|
#if !defined(RADIOLIB_EXCLUDE_XBEE)
|
||||||
|
|
||||||
XBee::XBee(Module* mod) {
|
XBee::XBee(Module* mod) {
|
||||||
_mod = mod;
|
_mod = mod;
|
||||||
|
@ -481,3 +482,5 @@ uint16_t XBee::getNumBytes(uint32_t timeout, size_t minBytes) {
|
||||||
|
|
||||||
return((resp[1] << 8) | resp[2]);
|
return((resp[1] << 8) | resp[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef _RADIOLIB_XBEE_H
|
#if !defined(_RADIOLIB_XBEE_H) && !defined(RADIOLIB_EXCLUDE_XBEE)
|
||||||
#define _RADIOLIB_XBEE_H
|
#define _RADIOLIB_XBEE_H
|
||||||
|
|
||||||
#include "../../ISerial.h"
|
#include "../../ISerial.h"
|
||||||
|
|
Loading…
Add table
Reference in a new issue