From 0d403de3d5a8d8e4b5b671a36b22b2c88afd9fb9 Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Fri, 5 Dec 2025 18:57:08 -0800 Subject: [PATCH] feat: add LoBBS header file and update LoBBSModule with module registration --- src/LoBBS.h | 4 ++++ src/LoBBSModule.cpp | 3 --- src/LoBBSModule.h | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 src/LoBBS.h 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"