mirror of
https://github.com/MeshEnvy/lobbs.git
synced 2026-05-07 05:44:30 +02:00
feat: add LoBBS header file and update LoBBSModule with module registration
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
#include "LoBBSModule.h"
|
||||
|
||||
@@ -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,4 +1,5 @@
|
||||
#pragma once
|
||||
#pragma MPM_MODULE(LoBBSModule)
|
||||
|
||||
#include "LoBBSDal.h"
|
||||
#include "SinglePortModule.h"
|
||||
|
||||
Reference in New Issue
Block a user