ardupilot/libraries/SITL/SIM_BattMonitor_SMBus_Maxell.h

27 lines
302 B
C++

#include "SIM_BattMonitor_SMBus_Generic.h"
#include <AP_Common/Bitmask.h>
/*
Testing:
param set BATT_MONITOR 16
reboot
*/
namespace SITL {
class Maxell : public SIM_BattMonitor_SMBus_Generic
{
public:
Maxell();
uint8_t cellcount() const override { return 3; }
};
} // namespace SITL