Ardupilot2/libraries/AP_BattMonitor/AP_BattMonitor_SMBus_Solo.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
508 B
C
Raw Normal View History

#pragma once
#include "AP_BattMonitor_SMBus.h"
#if AP_BATTERY_SMBUS_SOLO_ENABLED
class AP_BattMonitor_SMBus_Solo : public AP_BattMonitor_SMBus
{
public:
// Constructor
AP_BattMonitor_SMBus_Solo(AP_BattMonitor &mon,
AP_BattMonitor::BattMonitor_State &mon_state,
AP_BattMonitor_Params &params);
private:
void timer(void) override;
uint8_t _button_press_count;
2023-05-03 10:30:56 -03:00
bool _use_extended;
};
#endif // AP_BATTERY_SMBUS_SOLO_ENABLED