[JDY08] Reworked driver exclusion

This commit is contained in:
jgromes 2020-06-30 10:42:37 +02:00
parent 535e35a3db
commit 67e36f4ed9
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,4 @@
#if !defined(_RADIOLIB_JDY08_H) && !defined(RADIOLIB_EXCLUDE_JDY08)
#include "JDY08.h"
JDY08::JDY08(Module* mod) : ISerial(mod) {
@ -10,3 +11,5 @@ void JDY08::begin(long speed) {
_mod->baudrate = speed;
_mod->init(RADIOLIB_USE_UART);
}
#endif

View file

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