From 5ed9fcc3d04128c2a984efa48d009eca4db0df7e Mon Sep 17 00:00:00 2001 From: MatthewColvin Date: Fri, 29 Sep 2023 11:53:27 -0500 Subject: [PATCH] remove dead HardwareInterface file likely from a bad merge. --- Platformio/HAL/Interface/HardwareInterface.h | 27 -------------------- 1 file changed, 27 deletions(-) delete mode 100644 Platformio/HAL/Interface/HardwareInterface.h diff --git a/Platformio/HAL/Interface/HardwareInterface.h b/Platformio/HAL/Interface/HardwareInterface.h deleted file mode 100644 index 71a455f..0000000 --- a/Platformio/HAL/Interface/HardwareInterface.h +++ /dev/null @@ -1,27 +0,0 @@ -// OMOTE Hardware Abstraction -// 2023 Matthew Colvin - -#pragma once -#include -#include - -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; -};