chore: update module registration and variable naming for consistency

This commit is contained in:
Ben Allfree
2025-12-09 11:10:54 -08:00
parent 6e99739bef
commit 219dc25925
4 changed files with 12 additions and 3 deletions
+4
View File
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Patch
- Updated module registration from `#pragma MPM_MODULE` to `MPM_REGISTER_MESHTASTIC_MODULE` comment directive
- Renamed module variable from `lobbsPlugin` to `lobbsModule` for consistency
## [1.2.0] - 2025-12-09
### Minor
+1 -1
View File
@@ -688,4 +688,4 @@ void LoBBSModule::sendReply(NodeNum to, const std::string &msg)
service->sendToMesh(reply);
}
LoBBSModule *lobbsPlugin;
LoBBSModule *lobbsModule;
+1 -1
View File
@@ -37,4 +37,4 @@ class LoBBSModule : public SinglePortModule
void sendReply(NodeNum to, const std::string &msg);
};
extern LoBBSModule *lobbsPlugin;
extern LoBBSModule *lobbsModule;
+6 -1
View File
@@ -5,5 +5,10 @@
#include "LoBBSModule.h"
#pragma MPM_MODULE(LoBBSModule, lobbsPlugin)
/**
* This plugin registers a Module with Meshtastic. Modules are the primary way
* to extend Meshtastic with new functionality. Modules are registered with the
* MPM_REGISTER_MESHTASTIC_MODULE comment directive below.
*/
// MPM_REGISTER_MESHTASTIC_MODULE: LoBBSModule, lobbsModule, []