mavlink: bugfix

This commit is contained in:
Anton Babushkin 2013-09-21 10:20:26 +02:00
parent 32fbf80ab8
commit b56723af2a
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ cm_uint16_from_m_float(float m)
return 65535;
}
return m * 0.01f;
return (uint16_t)(m * 100.0f);
}
void