hopefully last bugfix
This commit is contained in:
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user