remove dead HardwareInterface file likely from a bad merge.
This commit is contained in:
parent
414f711373
commit
5ed9fcc3d0
1 changed files with 0 additions and 27 deletions
|
@ -1,27 +0,0 @@
|
||||||
// OMOTE Hardware Abstraction
|
|
||||||
// 2023 Matthew Colvin
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
#include <lvgl.h>
|
|
||||||
#include <string>
|
|
||||||
|
|
||||||
class HardwareInterface {
|
|
||||||
public:
|
|
||||||
struct batteryStatus {
|
|
||||||
/// @brief Percent of battery remaining (0-100]
|
|
||||||
int percentage;
|
|
||||||
/// @brief Voltage of battery in millivolts
|
|
||||||
int voltage;
|
|
||||||
/// @brief True - Battery is Charging
|
|
||||||
/// False - Battery discharging
|
|
||||||
bool isCharging;
|
|
||||||
};
|
|
||||||
|
|
||||||
HardwareInterface() = default;
|
|
||||||
|
|
||||||
virtual void init() = 0;
|
|
||||||
virtual void sendIR() = 0;
|
|
||||||
virtual void MQTTPublish(const char *topic, const char *payload) = 0;
|
|
||||||
virtual batteryStatus getBatteryPercentage() = 0;
|
|
||||||
virtual void debugPrint(std::string message) = 0;
|
|
||||||
};
|
|
Loading…
Add table
Reference in a new issue