Exclude accelerometer on new MESHTASTIC_EXCLUDE_ACCELEROMETER flag (#10004)

This commit is contained in:
Ben Meadors
2026-03-25 08:57:29 -05:00
committed by GitHub
co-authored by GitHub
parent 163c54877c
commit d693fd4232
5 changed files with 19 additions and 9 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ extern UdpMulticastHandler *udpHandler;
// Global Screen singleton.
extern graphics::Screen *screen;
#if !defined(ARCH_STM32WL) && !MESHTASTIC_EXCLUDE_I2C
#if !defined(ARCH_STM32WL) && !MESHTASTIC_EXCLUDE_I2C && !MESHTASTIC_EXCLUDE_ACCELEROMETER
#include "motion/AccelerometerThread.h"
extern AccelerometerThread *accelerometerThread;
#endif