Skip to content

Commit

Permalink
added <sdkconfig.h> which adds missing #define. fixes #163
Browse files Browse the repository at this point in the history
  • Loading branch information
hoeken committed Aug 14, 2024
1 parent 6af7227 commit 9b5966c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/PsychicHttpsServer.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef PsychicHttpsServer_h
#define PsychicHttpsServer_h

#include <sdkconfig.h>

#ifdef CONFIG_ESP_HTTPS_SERVER_ENABLE

#include "PsychicCore.h"
Expand Down Expand Up @@ -32,4 +34,6 @@ class PsychicHttpsServer : public PsychicHttpServer

#endif // PsychicHttpsServer_h

#else
#error ESP-IDF https server support not enabled.
#endif // CONFIG_ESP_HTTPS_SERVER_ENABLE

0 comments on commit 9b5966c

Please sign in to comment.