diff --git a/sw/airborne/modules/e_identification_fr/e_identification_fr.c b/sw/airborne/modules/e_identification_fr/e_identification_fr.c index 5452c23afa..1174b4c156 100644 --- a/sw/airborne/modules/e_identification_fr/e_identification_fr.c +++ b/sw/airborne/modules/e_identification_fr/e_identification_fr.c @@ -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;