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

          Line data    Source code
       1             : /**
       2             :  * @copyright Copyright (c) 2021 Sagetech, Inc. All rights reserved.
       3             :  *
       4             :  * @file charArray2Buf.c
       5             :  * @author Jacob.Garrison
       6             :  *
       7             :  * @date Mar 2, 2021
       8             :  *
       9             :  */
      10             : 
      11             : #include "sgUtil.h"
      12             : #include <ctype.h>
      13             : 
      14             : /*
      15             :  * Documented in the header file.
      16             :  */
      17          49 : void charArray2Buf(uint8_t *bufferPos, char arr[], uint8_t len)
      18             : {
      19         484 :     for (uint8_t i = 0; i < len; ++i)
      20             :     {
      21         435 :         bufferPos[i] = toupper(arr[i]);
      22             :     }
      23          49 : }

Generated by: LCOV version 1.14