mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-26 20:14:19 -04:00
8c3c93a09f
Fix Coverity CID 649088 (CONSTANT_EXPRESSION_RESULT) in the BDS 4,1 next waypoint decoding logic. The high bit contribution to waypoint character c[5] was incorrectly shifted right by 3, causing the expression to always evaluate to zero and discard a valid bit from the decoded character. Change the shift direction to correctly place the extracted bit into the character field. This restores proper decoding of the BDS 4,1 waypoint string and removes the Coverity warning. Signed-off-by: Robin Getz <rgetz503@gmail.com>