only perform startup once

This commit is contained in:
2023-02-26 19:23:55 +01:00
parent 2f9cdefc96
commit 71a2ecc2ea

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