From 096b9dbdd43758fc47db0a311f1534473602fca2 Mon Sep 17 00:00:00 2001 From: Roman Mashta Date: Mon, 2 Oct 2023 17:02:12 +0300 Subject: [PATCH] Fix build for MacOS and Linux. --- src/drivers/displays/displayDriver.h | 2 +- src/drivers/storage/SDCard.cpp | 2 +- src/drivers/storage/SDCard.h | 2 +- src/drivers/storage/nvMemory.cpp | 2 +- src/drivers/storage/nvMemory.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/drivers/displays/displayDriver.h b/src/drivers/displays/displayDriver.h index 939b00c..efa58f4 100644 --- a/src/drivers/displays/displayDriver.h +++ b/src/drivers/displays/displayDriver.h @@ -1,7 +1,7 @@ #ifndef DISPLAYDRIVER_H_ #define DISPLAYDRIVER_H_ -#include "..\devices\device.h" +#include "../devices/device.h" typedef void (*AlternateFunction)(void); typedef void (*DriverInitFunction)(void); diff --git a/src/drivers/storage/SDCard.cpp b/src/drivers/storage/SDCard.cpp index 2364106..4e35e5b 100644 --- a/src/drivers/storage/SDCard.cpp +++ b/src/drivers/storage/SDCard.cpp @@ -4,7 +4,7 @@ #include "storage.h" #include "nvMemory.h" -#include "..\devices\device.h" +#include "../devices/device.h" #include "SDCard.h" #if defined (BUILD_SDMMC_1) || defined(BUILD_SDMMC_4) diff --git a/src/drivers/storage/SDCard.h b/src/drivers/storage/SDCard.h index 775adbb..768fc07 100644 --- a/src/drivers/storage/SDCard.h +++ b/src/drivers/storage/SDCard.h @@ -3,7 +3,7 @@ #include "storage.h" #include "nvMemory.h" -#include "..\devices\device.h" +#include "../devices/device.h" // configuration example and description in /devices/esp32cam.h diff --git a/src/drivers/storage/nvMemory.cpp b/src/drivers/storage/nvMemory.cpp index 9467a72..e7aca6b 100644 --- a/src/drivers/storage/nvMemory.cpp +++ b/src/drivers/storage/nvMemory.cpp @@ -6,7 +6,7 @@ #include #include -#include "..\devices\device.h" +#include "../devices/device.h" #include "storage.h" nvMemory::nvMemory() : Initialized_(false){}; diff --git a/src/drivers/storage/nvMemory.h b/src/drivers/storage/nvMemory.h index 3b22c7e..c072fec 100644 --- a/src/drivers/storage/nvMemory.h +++ b/src/drivers/storage/nvMemory.h @@ -4,7 +4,7 @@ // we only have one implementation right now and nothing to choose from. #define NVMEM_SPIFFS -#include "..\devices\device.h" +#include "../devices/device.h" #include "storage.h" // Handles load and store of user settings, except wifi credentials. Those are managed by the wifimanager.