forked from Archive/PX4-Autopilot
mavlink: bugfix
This commit is contained in:
parent
32fbf80ab8
commit
b56723af2a
|
@ -162,7 +162,7 @@ cm_uint16_from_m_float(float m)
|
||||||
return 65535;
|
return 65535;
|
||||||
}
|
}
|
||||||
|
|
||||||
return m * 0.01f;
|
return (uint16_t)(m * 100.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue