You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "AP_BattMonitor_SMBus_Generic.h"
|
|
|
|
|
|
|
|
class AP_BattMonitor_SMBus_Maxell : public AP_BattMonitor_SMBus_Generic
|
|
|
|
{
|
|
|
|
using AP_BattMonitor_SMBus_Generic::AP_BattMonitor_SMBus_Generic;
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
// return a scaler that should be multiplied by the battery's reported capacity numbers to arrive at the actual capacity in mAh
|
|
|
|
uint16_t get_capacity_scaler() const override { return 2; }
|
|
|
|
|
|
|
|
};
|