From 8f293885469285982877c53f2bfc76cd481c3c7b Mon Sep 17 00:00:00 2001 From: ctzsnooze Date: Wed, 31 Aug 2022 09:06:53 +1000 Subject: [PATCH] Maintain previous MSP GPS Heading resolution --- src/main/msp/msp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/msp/msp.c b/src/main/msp/msp.c index 0f1a3e1bf..8c70b4b1a 100644 --- a/src/main/msp/msp.c +++ b/src/main/msp/msp.c @@ -1468,7 +1468,7 @@ static bool mspProcessOutCommand(int16_t cmdMSP, sbuf_t *dst) case MSP_COMP_GPS: sbufWriteU16(dst, GPS_distanceToHome); - sbufWriteU16(dst, GPS_directionToHome); + sbufWriteU16(dst, GPS_directionToHome / 10); // resolution increased in Betaflight 4.4 by factor of 10, this maintains backwards compatibility for DJI OSD sbufWriteU8(dst, GPS_update & 1); break; -- 2.11.4.GIT