LCOV - code coverage report
Current view: top level - AP_ADSB/sagetech-sdk - toHeading.c (source / functions) Hit Total Coverage
Test: lcov.info Lines: 0 4 0.0 %
Date: 2026-09-09 11:02:08 Functions: 0 1 0.0 %

          Line data    Source code
       1             : /**
       2             :  * @copyright Copyright (c) 2021 Sagetech, Inc. All rights reserved.
       3             :  *
       4             :  * @file toHeading.c
       5             :  * @author Jacob.Garrison
       6             :  *
       7             :  * @date Mar 2, 2021
       8             :  *
       9             :  */
      10             : 
      11             : #include "sgUtil.h"
      12             : 
      13             : #define SV_RES_HEAD 1.40625
      14             : 
      15             : /*
      16             :  * Documented in the header file.
      17             :  */
      18           0 : double toHeading(const uint8_t bytes[])
      19             : {
      20           0 :     double value = bytes[0];
      21           0 :     value *= SV_RES_HEAD;
      22             : 
      23           0 :     return value;
      24             : }

Generated by: LCOV version 1.14