Updated DECIDEGREES_TO_RADIANS10000 conversion

This commit is contained in:
Martin Budden 2016-11-25 12:54:41 +00:00
parent 22c5b88fd0
commit a8bf485539
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ int16_t Roll angle ( rad / 10000 )
int16_t Yaw angle ( rad / 10000 )
*/
#define DECIDEGREES_TO_RADIANS10000(angle) (1000.0f * (angle) * RAD)
#define DECIDEGREES_TO_RADIANS10000(angle) ((int16_t)(1000.0f * (angle) * RAD))
void crsfFrameAttitude(sbuf_t *dst)
{