15 lines
No EOL
394 B
C++
15 lines
No EOL
394 B
C++
#include "ExternalRadio.h"
|
|
|
|
#if defined(RADIOLIB_BUILD_ARDUINO)
|
|
ExternalRadio::ExternalRadio() : PhysicalLayer(1, 0) {
|
|
mod = new Module(RADIOLIB_NC, RADIOLIB_NC, RADIOLIB_NC, RADIOLIB_NC);
|
|
}
|
|
#endif
|
|
|
|
ExternalRadio::ExternalRadio(Hal *hal) : PhysicalLayer(1, 0) {
|
|
mod = new Module(hal, RADIOLIB_NC, RADIOLIB_NC, RADIOLIB_NC, RADIOLIB_NC);
|
|
}
|
|
|
|
Module* ExternalRadio::getMod() {
|
|
return(mod);
|
|
} |