Include PositionModule if EXCLUDE_GPS defined (requied by AdminModule)

This commit is contained in:
Talie5in committed 2024-06-06 22:19:40 +09:30
1 parent 96b286cd48
commit 646b252786
1 file changed
+5
+5
View File
@@ -26,6 +26,11 @@
#if !MESHTASTIC_EXCLUDE_GPS
#include "GPS.h"
#endif
#if MESHTASTIC_EXCLUDE_GPS
#include "modules/PositionModule.h"
#endif
#if !defined(ARCH_PORTDUINO) && !defined(ARCH_STM32WL) && !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
#include "AccelerometerThread.h"
#endif