1
0
forked from me/IronOS

Merge pull request #699 from Firebie/issue696

Delay accelerometer for 2 seconds - fix for #696
This commit is contained in:
Ben V. Brown
2020-09-15 22:26:48 +10:00
committed by GitHub

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 };