From 93f1bd51d36098bbeff4e95487f57aca568c8653 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sat, 4 Jul 2020 21:13:16 +0200 Subject: [PATCH] Updated template implementation file --- extras/ModuleTemplate.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extras/ModuleTemplate.cpp b/extras/ModuleTemplate.cpp index 0ee26318..07267305 100644 --- a/extras/ModuleTemplate.cpp +++ b/extras/ModuleTemplate.cpp @@ -1,4 +1,5 @@ #include ".h" +#if !defined(RADIOLIB_EXCLUDE_) ::(Module* mod) { /* @@ -12,10 +13,10 @@ int16_t ::begin() { "begin" method implementation MUST call the "init" method with appropriate settings. */ _mod->init(); - + /* "begin" method SHOULD implement some sort of mechanism to verify the connection between Arduino and the module. - + For example, sending AT command for UART modules, or reading a version register for SPI/I2C modules */ }