#include "HardwareFactory.hpp" #if OMOTE_SIM #include "HardwareSimulator.hpp" #endif #if OMOTE_ESP32 #include "HardwareRevX.hpp" #endif #if OMOTE_SIM std::unique_ptr HardwareFactory::mHardware = std::make_unique(); #endif #if OMOTE_ESP32 std::unique_ptr HardwareFactory::mHardware = std::make_unique(); #endif HardwareAbstract &HardwareFactory::getAbstract() { return *mHardware; }