only perform startup once

This commit is contained in:
Robin Müller 2023-02-26 19:23:55 +01:00
parent 2f9cdefc96
commit 71a2ecc2ea
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -248,6 +248,7 @@ void AcsBoardPolling::gyroL3gHandler(GyroL3g& l3g) {
return;
}
}
l3g.performStartup = false;
l3g.ownReply.cfgWasSet = true;
l3g.ownReply.sensitivity = l3gd20h::ctrlReg4ToSensitivity(l3g.sensorCfg[3]);
}