Line data Source code
1 : #include "SIM_config.h" 2 : 3 : #if AP_SIM_BATT_MONITOR_SMBUS_MAXELL_ENABLED 4 : 5 : #include "SIM_BattMonitor_SMBus_Generic.h" 6 : 7 : #include <AP_Common/Bitmask.h> 8 : 9 : /* 10 : 11 : Testing: 12 : 13 : param set BATT_MONITOR 16 14 : reboot 15 : 16 : */ 17 : 18 : namespace SITL { 19 : 20 : class Maxell : public SIM_BattMonitor_SMBus_Generic 21 : { 22 : public: 23 : 24 : Maxell(); 25 : 26 2094 : uint8_t cellcount() const override { return 14; } 27 178759942 : uint8_t connected_cells() const override { return 14; } 28 : 29 : }; 30 : 31 : } // namespace SITL 32 : 33 : #endif // AP_SIM_BATT_MONITOR_SMBUS_MAXELL_ENABLED