Delay accelerometer for 2 seconds - fix for #696

This commit is contained in:
firebie
2020-09-15 15:04:38 +03:00
parent 7e2c888df1
commit 9edb7d4714

View File

@@ -45,6 +45,12 @@ void startMOVTask(void const *argument __unused) {
postRToSInit();
OLED::setRotation(systemSettings.OrientationMode & 1);
if ((PCBVersion == 1
|| PCBVersion == 2)
&& (systemSettings.autoStartMode == 2
|| systemSettings.autoStartMode == 3))
osDelay(2000);
lastMovementTime = 0;
int16_t datax[MOVFilter] = { 0 };
int16_t datay[MOVFilter] = { 0 };