Include PositionModule if EXCLUDE_GPS defined (requied by AdminModule)

This commit is contained in:
Talie5in 2024-06-06 22:19:40 +09:30
parent 96b286cd48
commit 646b252786

View File

@ -26,6 +26,11 @@
#if !MESHTASTIC_EXCLUDE_GPS #if !MESHTASTIC_EXCLUDE_GPS
#include "GPS.h" #include "GPS.h"
#endif #endif
#if MESHTASTIC_EXCLUDE_GPS
#include "modules/PositionModule.h"
#endif
#if !defined(ARCH_PORTDUINO) && !defined(ARCH_STM32WL) && !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR #if !defined(ARCH_PORTDUINO) && !defined(ARCH_STM32WL) && !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
#include "AccelerometerThread.h" #include "AccelerometerThread.h"
#endif #endif