Skip to content

Commit

Permalink
Merge pull request #419 from playfultechnology/master
Browse files Browse the repository at this point in the history
Fix ESPNow strategy to address breaking changes in ESP32 core
  • Loading branch information
gioblu authored Dec 29, 2022
2 parents 9945f32 + ec9dc80 commit 38e36bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/interfaces/ARDUINO/ESPNOWHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ static const char *TAG = "espnow";
It is configured in menuconfig. */
#if CONFIG_STATION_MODE
#define ESPNOW_WIFI_MODE WIFI_MODE_STA
#define ESPNOW_WIFI_IF ESP_IF_WIFI_STA
#define ESPNOW_WIFI_IF WIFI_IF_STA
#else
#define ESPNOW_WIFI_MODE WIFI_MODE_AP
#define ESPNOW_WIFI_IF ESP_IF_WIFI_AP
#define ESPNOW_WIFI_IF WIFI_IF_AP
#endif

#define ESPNOW_MAX_PACKET 250
Expand Down

0 comments on commit 38e36bb

Please sign in to comment.