[Tracker] Fix tracker route.

This commit is contained in:
Fabien-B
2021-01-22 14:29:44 +01:00
committed by Gautier Hattenberger
parent e2d3a44940
commit aeef76a527
@@ -82,7 +82,7 @@ static int put_horizontal_speed(uint8_t *buf)
static int put_route(uint8_t *buf)
{
int32_t route_normalized = INT32_DEG_OF_RAD(stateGetHorizontalSpeedDir_f());
int32_t route_normalized = DegOfRad(stateGetHorizontalSpeedDir_f());
uint16_t route;
if (route_normalized >= 0) {
route = (uint16_t) route_normalized;