feat: add LoBBS header file and update LoBBSModule with module registration

This commit is contained in:
Ben Allfree
2025-12-05 18:57:08 -08:00
parent 97c6b01c52
commit 0d403de3d5
3 changed files with 5 additions and 3 deletions
+4
View File
@@ -0,0 +1,4 @@
#pragma once
#include "LoBBSModule.h"
-3
View File
@@ -9,7 +9,6 @@
#include <cctype>
#include <cstring>
#include <string>
#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);
+1
View File
@@ -1,4 +1,5 @@
#pragma once
#pragma MPM_MODULE(LoBBSModule)
#include "LoBBSDal.h"
#include "SinglePortModule.h"