diff --git a/Platformio/HAL/HardwareAbstract.hpp b/Platformio/HAL/HardwareAbstract.hpp index 1c3690f..0c48b9e 100644 --- a/Platformio/HAL/HardwareAbstract.hpp +++ b/Platformio/HAL/HardwareAbstract.hpp @@ -9,7 +9,7 @@ #include #include #include "BatteryInterface.h" -#include "DisplayInterface.h" +#include "DisplayAbstract.h" #include "wifiHandlerInterface.h" #include "Notification.hpp" diff --git a/Platformio/HAL/HardwareInterfaces/BatteryInterface.h b/Platformio/HAL/HardwareInterfaces/BatteryInterface.h index 0f600b9..1be5337 100644 --- a/Platformio/HAL/HardwareInterfaces/BatteryInterface.h +++ b/Platformio/HAL/HardwareInterfaces/BatteryInterface.h @@ -1,5 +1,5 @@ #pragma once -#include "DisplayInterface.h" +#include "DisplayAbstract.h" class BatteryInterface { public: diff --git a/Platformio/HAL/DisplayInterface.cpp b/Platformio/HAL/HardwareInterfaces/DisplayAbstract.cpp similarity index 97% rename from Platformio/HAL/DisplayInterface.cpp rename to Platformio/HAL/HardwareInterfaces/DisplayAbstract.cpp index 7a61398..48d0e3a 100644 --- a/Platformio/HAL/DisplayInterface.cpp +++ b/Platformio/HAL/HardwareInterfaces/DisplayAbstract.cpp @@ -1,4 +1,4 @@ -#include "DisplayInterface.h" +#include "DisplayAbstract.h" std::shared_ptr DisplayAbstract::mInstance = nullptr; diff --git a/Platformio/HAL/HardwareInterfaces/DisplayInterface.h b/Platformio/HAL/HardwareInterfaces/DisplayAbstract.h similarity index 100% rename from Platformio/HAL/HardwareInterfaces/DisplayInterface.h rename to Platformio/HAL/HardwareInterfaces/DisplayAbstract.h diff --git a/Platformio/HAL/Targets/ESP32/battery/battery.hpp b/Platformio/HAL/Targets/ESP32/battery/battery.hpp index f09898e..bdeece6 100644 --- a/Platformio/HAL/Targets/ESP32/battery/battery.hpp +++ b/Platformio/HAL/Targets/ESP32/battery/battery.hpp @@ -1,6 +1,6 @@ #pragma once #include "BatteryInterface.h" -#include "DisplayInterface.h" +#include "DisplayAbstract.h" class Battery: public BatteryInterface { public: diff --git a/Platformio/HAL/Targets/ESP32/display/display.hpp b/Platformio/HAL/Targets/ESP32/display/display.hpp index b02f5f3..c0230ec 100644 --- a/Platformio/HAL/Targets/ESP32/display/display.hpp +++ b/Platformio/HAL/Targets/ESP32/display/display.hpp @@ -1,5 +1,5 @@ #pragma once -#include "DisplayInterface.h" +#include "DisplayAbstract.h" #include #include #include diff --git a/Platformio/platformio.ini b/Platformio/platformio.ini index a58d404..bab66f5 100644 --- a/Platformio/platformio.ini +++ b/Platformio/platformio.ini @@ -48,7 +48,7 @@ lib_archive = false build_src_filter = +<../OmoteUI/*> +<../HAL/HardwareAbstract.cpp> - +<../HAL/DisplayInterface.cpp> + +<../HAL/HardwareInterfaces/DisplayAbstract.cpp>