Skip to content

Commit

Permalink
Bugfix for weird behaviour of PlatformIO compilation for Arduino Due
Browse files Browse the repository at this point in the history
  • Loading branch information
fredlcore committed Mar 11, 2024
1 parent bc5ddf1 commit f82b4e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BSB_LAN/BSB_LAN.ino
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,8 @@
#if defined(ESP32)
void loop();
int set(float line, const char *val, bool setcmd);
#else
#define WiFiEvent_t int // Very strange that the netEvent() function which is completely guarded by preprocessor directives throws an error on Arduino Due, complaining that WiFiEvent_t is not defined. This workaround fixes this.
#endif

typedef struct {
Expand Down

0 comments on commit f82b4e9

Please sign in to comment.