LCOV - code coverage report
Current view: top level - AP_BattMonitor - AP_BattMonitor_SMBus_Maxell.h (source / functions) Hit Total Coverage
Test: lcov.info Lines: 1 1 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_BattMonitor_SMBus_Generic.h"
       4             : 
       5             : #if AP_BATTERY_SMBUS_MAXELL_ENABLED
       6             : 
       7             : class AP_BattMonitor_SMBus_Maxell : public AP_BattMonitor_SMBus_Generic
       8             : {
       9             :     using AP_BattMonitor_SMBus_Generic::AP_BattMonitor_SMBus_Generic;
      10             : 
      11             : private:
      12             : 
      13             :     // return a scaler that should be multiplied by the battery's reported capacity numbers to arrive at the actual capacity in mAh
      14         318 :     uint16_t get_capacity_scaler() const override { return 2; }
      15             : 
      16             : };
      17             : 
      18             : #endif  // AP_BATTERY_SMBUS_MAXELL_ENABLED

Generated by: LCOV version 1.14