Skip to content

Commit

Permalink
Merge pull request #178 from mathieucarbou/idf53
Browse files Browse the repository at this point in the history
HTTP_ANY is already defined in IDF 5.3
  • Loading branch information
mathieucarbou authored Sep 12, 2024
2 parents 92ee3e2 + 7d73fe3 commit ba508e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ platform = https://github.com/pioarduino/platform-espressif32/releases/download/
board = esp32-c6-devkitc-1

[env:mathieu]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.04/platform-espressif32.zip
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10%%2Brc1/platform-espressif32.zip
board = esp32dev

[env:hoeken]
Expand Down
6 changes: 3 additions & 3 deletions src/PsychicHttpServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
#include <regex>
#endif

enum PsychicHttpMethod {
HTTP_ANY = 99
};
#ifndef HTTP_ANY
#define HTTP_ANY INT_MAX
#endif

class PsychicEndpoint;
class PsychicHandler;
Expand Down

0 comments on commit ba508e3

Please sign in to comment.