Missed some includes of userPrefs that would allow behavior we don't want

This commit is contained in:
Ben Meadors 2024-07-31 08:53:59 -05:00
parent 24ecfa1a45
commit bcdda4de8a
2 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,7 @@
#if ENABLE_JSON_LOGGING || ARCH_PORTDUINO
#include "serialization/MeshPacketSerializer.h"
#endif
#include "../userPrefs.h"
/**
* Router todo
*

View File

@ -16,6 +16,7 @@
#ifdef ARCH_PORTDUINO
#include "unistd.h"
#endif
#include "../userPrefs.h"
#include "Default.h"
#include "TypeConversions.h"
@ -886,4 +887,4 @@ AdminModule::AdminModule() : ProtobufModule("Admin", meshtastic_PortNum_ADMIN_AP
{
// restrict to the admin channel for rx
boundChannel = Channels::adminChannel;
}
}