fix release build warnings
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit

This commit is contained in:
2023-02-19 14:13:13 +01:00
parent 8f3ea62632
commit 6523634b2a
2 changed files with 5 additions and 2 deletions

View File

@ -136,8 +136,8 @@ ReturnValue_t ImtqHandler::buildCommandFromCommand(DeviceCommandId_t deviceComma
// Read set dipole values from local pool
PoolReadGuard pg(&dipoleSet);
int16_t xDipole, yDipole, zDipole;
uint16_t torqueDuration;
int16_t xDipole, yDipole, zDipole = 0;
uint16_t torqueDuration = 0;
dipoleSet.xDipole = xDipole;
dipoleSet.yDipole = yDipole;
dipoleSet.zDipole = zDipole;