Refactor IMTQ handling #384
@ -136,7 +136,7 @@ ReturnValue_t ImtqHandler::buildCommandFromCommand(DeviceCommandId_t deviceComma
|
|||||||
// Read set dipole values from local pool
|
// Read set dipole values from local pool
|
||||||
PoolReadGuard pg(&dipoleSet);
|
PoolReadGuard pg(&dipoleSet);
|
||||||
|
|
||||||
int16_t xDipole, yDipole, zDipole = 0;
|
int16_t xDipole = 0, yDipole = 0, zDipole = 0;
|
||||||
uint16_t torqueDuration = 0;
|
uint16_t torqueDuration = 0;
|
||||||
dipoleSet.xDipole = xDipole;
|
dipoleSet.xDipole = xDipole;
|
||||||
dipoleSet.yDipole = yDipole;
|
dipoleSet.yDipole = yDipole;
|
||||||
|
Loading…
Reference in New Issue
Block a user