Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

Commit 7d0073b

Browse files
committed
Changed .ui to .f
1 parent 51aa95b commit 7d0073b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

march_hardware/src/IMotionCube.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ float IMotionCube::getIMCVoltage()
304304

305305
float IMotionCube::getMotorVoltage()
306306
{
307-
return this->read16(this->miso_byte_offsets_.at(IMCObjectName::MotorVoltage)).ui;
307+
return this->read16(this->miso_byte_offsets_.at(IMCObjectName::MotorVoltage)).f;
308308
}
309309

310310
void IMotionCube::setControlWord(uint16_t control_word)

0 commit comments

Comments
 (0)