HotFix for ReplyBot - Modules.cpp included and moved configuration.h (#9532)
This commit is contained in:
@@ -4,6 +4,9 @@
|
|||||||
#include "modules/StatusLEDModule.h"
|
#include "modules/StatusLEDModule.h"
|
||||||
#include "modules/SystemCommandsModule.h"
|
#include "modules/SystemCommandsModule.h"
|
||||||
#endif
|
#endif
|
||||||
|
#if !MESHTASTIC_EXCLUDE_REPLYBOT
|
||||||
|
#include "ReplyBotModule.h"
|
||||||
|
#endif
|
||||||
#if !MESHTASTIC_EXCLUDE_PKI
|
#if !MESHTASTIC_EXCLUDE_PKI
|
||||||
#include "KeyVerificationModule.h"
|
#include "KeyVerificationModule.h"
|
||||||
#endif
|
#endif
|
||||||
@@ -112,7 +115,9 @@ void setupModules()
|
|||||||
#if defined(LED_CHARGE) || defined(LED_PAIRING)
|
#if defined(LED_CHARGE) || defined(LED_PAIRING)
|
||||||
statusLEDModule = new StatusLEDModule();
|
statusLEDModule = new StatusLEDModule();
|
||||||
#endif
|
#endif
|
||||||
|
#if !MESHTASTIC_EXCLUDE_REPLYBOT
|
||||||
|
new ReplyBotModule();
|
||||||
|
#endif
|
||||||
#if !MESHTASTIC_EXCLUDE_ADMIN
|
#if !MESHTASTIC_EXCLUDE_ADMIN
|
||||||
adminModule = new AdminModule();
|
adminModule = new AdminModule();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#include "configuration.h"
|
||||||
#if !MESHTASTIC_EXCLUDE_REPLYBOT
|
#if !MESHTASTIC_EXCLUDE_REPLYBOT
|
||||||
/*
|
/*
|
||||||
* ReplyBotModule.cpp
|
* ReplyBotModule.cpp
|
||||||
@@ -12,11 +13,10 @@
|
|||||||
* entirely. See the official firmware documentation for guidance on adding modules.
|
* entirely. See the official firmware documentation for guidance on adding modules.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ReplyBotModule.h"
|
|
||||||
#include "Channels.h"
|
#include "Channels.h"
|
||||||
#include "MeshService.h"
|
#include "MeshService.h"
|
||||||
#include "NodeDB.h"
|
#include "NodeDB.h"
|
||||||
#include "configuration.h"
|
#include "ReplyBotModule.h"
|
||||||
#include "mesh/MeshTypes.h"
|
#include "mesh/MeshTypes.h"
|
||||||
|
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
#include "configuration.h"
|
||||||
#if !MESHTASTIC_EXCLUDE_REPLYBOT
|
#if !MESHTASTIC_EXCLUDE_REPLYBOT
|
||||||
#include "SinglePortModule.h"
|
#include "SinglePortModule.h"
|
||||||
#include "mesh/generated/meshtastic/mesh.pb.h"
|
#include "mesh/generated/meshtastic/mesh.pb.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user