LCOV - code coverage report
Current view: top level - AP_Frsky_Telem - AP_Frsky_D.h (source / functions) Hit Total Coverage
Test: lcov.info Lines: 2 2 100.0 %
Date: 2026-09-09 11:02:08 Functions: 1 1 100.0 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include "AP_Frsky_Backend.h"
       4             : 
       5             : #if AP_FRSKY_D_TELEM_ENABLED
       6             : 
       7             : class AP_Frsky_D : public AP_Frsky_Backend
       8             : {
       9             : 
      10             : public:
      11             : 
      12             :     using AP_Frsky_Backend::AP_Frsky_Backend;
      13             : 
      14             : protected:
      15             : 
      16             :     void send() override;
      17           1 :     uint32_t initial_baud() const override
      18             :     {
      19           1 :         return 9600;
      20             :     }
      21             : 
      22             : private:
      23             : 
      24             :     // methods related to the nuts-and-bolts of sending data
      25             :     void send_byte(uint8_t value);
      26             :     void send_uint16(uint16_t id, uint16_t data);
      27             : 
      28             :     struct {
      29             :         uint32_t last_200ms_frame;
      30             :         uint32_t last_1000ms_frame;
      31             :     } _D;
      32             : 
      33             : };
      34             : 
      35             : #endif  // AP_FRSKY_D_TELEM_ENABLED

Generated by: LCOV version 1.14