No accelerometerThread on STM32

This commit is contained in:
Jonathan Bennett 2025-05-05 22:12:01 -05:00
parent b3d025a0b9
commit ee8de57b54

View File

@ -1300,9 +1300,12 @@ void setup()
LOG_DEBUG("Free heap : %7d bytes", ESP.getFreeHeap()); LOG_DEBUG("Free heap : %7d bytes", ESP.getFreeHeap());
LOG_DEBUG("Free PSRAM : %7d bytes", ESP.getFreePsram()); LOG_DEBUG("Free PSRAM : %7d bytes", ESP.getFreePsram());
#endif #endif
#if !defined(ARCH_STM32WL)
if (accelerometerThread) if (accelerometerThread)
accelerometerThread->calibrate(30); accelerometerThread->calibrate(30);
#endif
} }
#endif #endif
uint32_t rebootAtMsec; // If not zero we will reboot at this time (used to reboot shortly after the update completes) uint32_t rebootAtMsec; // If not zero we will reboot at this time (used to reboot shortly after the update completes)
uint32_t shutdownAtMsec; // If not zero we will shutdown at this time (used to shutdown from python or mobile client) uint32_t shutdownAtMsec; // If not zero we will shutdown at this time (used to shutdown from python or mobile client)