hopefully last bugfix

This commit is contained in:
2023-02-26 19:38:48 +01:00
parent 71a2ecc2ea
commit cc4c3182a0

@ -133,6 +133,7 @@ ReturnValue_t AcsBoardPolling::sendMessage(CookieIF* cookie, const uint8_t* send
MutexGuard mg(ipcLock); MutexGuard mg(ipcLock);
if (req->mode != gyro.mode) { if (req->mode != gyro.mode) {
if (req->mode == acs::SimpleSensorMode::NORMAL) { if (req->mode == acs::SimpleSensorMode::NORMAL) {
std::memcpy(gyro.sensorCfg, req->ctrlRegs, 5);
gyro.performStartup = true; gyro.performStartup = true;
} else { } else {
gyro.ownReply.cfgWasSet = false; gyro.ownReply.cfgWasSet = false;