mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-27 10:21:40 +00:00
Modules
This commit is contained in:
parent
103f1992dd
commit
92a43685a8
@ -8,7 +8,6 @@
|
||||
#include "modules/NodeInfoModule.h"
|
||||
#include "modules/PositionModule.h"
|
||||
#include "modules/RemoteHardwareModule.h"
|
||||
#include "modules/RepeaterModule.h"
|
||||
#include "modules/ReplyModule.h"
|
||||
#include "modules/RoutingModule.h"
|
||||
#include "modules/TextMessageModule.h"
|
||||
@ -34,7 +33,8 @@
|
||||
*/
|
||||
void setupModules()
|
||||
{
|
||||
if (config.device.role != meshtastic_Config_DeviceConfig_Role_REPEATER) {
|
||||
if (config.device.role != meshtastic_Config_DeviceConfig_Role_REPEATER)
|
||||
{
|
||||
#if HAS_BUTTON
|
||||
inputBroker = new InputBroker();
|
||||
#endif
|
||||
@ -82,7 +82,9 @@ void setupModules()
|
||||
|
||||
// NOTE! This module must be added LAST because it likes to check for replies from other modules and avoid sending extra
|
||||
// acks
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
adminModule = new AdminModule();
|
||||
}
|
||||
routingModule = new RoutingModule();
|
||||
|
Loading…
Reference in New Issue
Block a user