[JDY08] Reworked driver exclusion
This commit is contained in:
parent
535e35a3db
commit
67e36f4ed9
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef _RADIOLIB_JDY08_H
|
||||
#if !defined(_RADIOLIB_JDY08_H) && !defined(RADIOLIB_EXCLUDE_JDY08)
|
||||
#define _RADIOLIB_JDY08_H
|
||||
|
||||
#include "../../ISerial.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue