mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Delay accelerometer for 2 seconds - fix for #696
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user