Don't reboot for certain config prefs and make accelerometer thread re-entrant (#3889)

* Don't reboot for certain config prefs and make accelerometer thread re-entrant

* WHOOPS

* Don't reboot for LED heartbeat and button press

* Remove TZ
This commit is contained in:
Ben Meadors
2024-05-16 17:27:36 -05:00
committed by GitHub
parent f3cf9a5e71
commit b4a7e78d18
4 changed files with 99 additions and 48 deletions

View File

@@ -53,6 +53,11 @@ extern Adafruit_DRV2605 drv;
extern AudioThread *audioThread;
#endif
#if !defined(ARCH_PORTDUINO) && !defined(ARCH_STM32WL) && !MESHTASTIC_EXCLUDE_ENVIRONMENTAL_SENSOR
#include "AccelerometerThread.h"
extern AccelerometerThread *accelerometerThread;
#endif
extern bool isVibrating;
extern int TCPPort; // set by Portduino