Delay accelerometer for 2 seconds - fix for #696
This commit is contained in:
@@ -45,6 +45,12 @@ void startMOVTask(void const *argument __unused) {
|
|||||||
postRToSInit();
|
postRToSInit();
|
||||||
OLED::setRotation(systemSettings.OrientationMode & 1);
|
OLED::setRotation(systemSettings.OrientationMode & 1);
|
||||||
|
|
||||||
|
if ((PCBVersion == 1
|
||||||
|
|| PCBVersion == 2)
|
||||||
|
&& (systemSettings.autoStartMode == 2
|
||||||
|
|| systemSettings.autoStartMode == 3))
|
||||||
|
osDelay(2000);
|
||||||
|
|
||||||
lastMovementTime = 0;
|
lastMovementTime = 0;
|
||||||
int16_t datax[MOVFilter] = { 0 };
|
int16_t datax[MOVFilter] = { 0 };
|
||||||
int16_t datay[MOVFilter] = { 0 };
|
int16_t datay[MOVFilter] = { 0 };
|
||||||
|
|||||||
Reference in New Issue
Block a user