diff --git a/src/LoBBS.h b/src/LoBBS.h new file mode 100644 index 0000000..9f43285 --- /dev/null +++ b/src/LoBBS.h @@ -0,0 +1,4 @@ +#pragma once + +#include "LoBBSModule.h" + diff --git a/src/LoBBSModule.cpp b/src/LoBBSModule.cpp index b267645..7bf5742 100644 --- a/src/LoBBSModule.cpp +++ b/src/LoBBSModule.cpp @@ -9,7 +9,6 @@ #include #include #include -#include "ModuleRegistry.h" // Static helper: case-insensitive substring search static const char *stristr(const char *haystack, const char *needle) @@ -690,5 +689,3 @@ void LoBBSModule::sendReply(NodeNum to, const std::string &msg) reply->decoded.want_response = false; service->sendToMesh(reply); } - -MESHTASTIC_REGISTER_MODULE(LoBBSModule); diff --git a/src/LoBBSModule.h b/src/LoBBSModule.h index 6e92c63..7a91ace 100644 --- a/src/LoBBSModule.h +++ b/src/LoBBSModule.h @@ -1,4 +1,5 @@ #pragma once +#pragma MPM_MODULE(LoBBSModule) #include "LoBBSDal.h" #include "SinglePortModule.h"