From bbb4c061f685b9a5b509e6caac02ea90f0ef3787 Mon Sep 17 00:00:00 2001 From: reaper7 Date: Fri, 30 Aug 2019 05:32:35 +0200 Subject: [PATCH] Fix relative paths in prototypes.h (#1878) Fix Arduino IDE error by changing to proper relative paths: ``` In file included from sketch\config/all.h:36:0, from C:\Programy\arduino_projekty\espurna_dev\code\espurna\espurna.ino:22: sketch\config/prototypes.h:178:86: fatal error: static/letsencrypt_isrgroot_pem.h: No such file or directory #include "static/letsencrypt_isrgroot_pem.h" // Default to LetsEncrypt X3 certificate compilation terminated. ``` --- code/espurna/config/prototypes.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/espurna/config/prototypes.h b/code/espurna/config/prototypes.h index 322d64c3..17bccd6b 100644 --- a/code/espurna/config/prototypes.h +++ b/code/espurna/config/prototypes.h @@ -173,9 +173,9 @@ using mqtt_callback_f = std::function; #endif #if MQTT_SECURE_CLIENT_INCLUDE_CA -#include "static/mqtt_secure_client_ca.h" // Assumes this header file defines a _mqtt_client_ca[] PROGMEM = "...PEM data..." +#include "../static/mqtt_secure_client_ca.h" // Assumes this header file defines a _mqtt_client_ca[] PROGMEM = "...PEM data..." #else -#include "static/letsencrypt_isrgroot_pem.h" // Default to LetsEncrypt X3 certificate +#include "../static/letsencrypt_isrgroot_pem.h" // Default to LetsEncrypt X3 certificate #define _mqtt_client_ca _ssl_letsencrypt_isrg_x3_ca #endif // MQTT_SECURE_CLIENT_INCLUDE_CA @@ -199,9 +199,9 @@ using mqtt_callback_f = std::function; #include #if OTA_SECURE_CLIENT_INCLUDE_CA - #include "static/ota_secure_client_ca.h" + #include "../static/ota_secure_client_ca.h" #else - #include "static/digicert_evroot_pem.h" + #include "../static/digicert_evroot_pem.h" #define _ota_client_http_update_ca _ssl_digicert_ev_root_ca #endif