Skip to content

Commit 0c038b4

Browse files
authored
Update WiFiGeneric.cpp
Missed definition
1 parent 43544d8 commit 0c038b4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: libraries/WiFi/src/WiFiGeneric.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ extern "C" {
5151
#undef max
5252
#include <vector>
5353

54+
#include "sdkconfig.h"
55+
56+
#if CONFIG_FREERTOS_UNICORE
57+
#define ARDUINO_RUNNING_CORE 0
58+
#else
59+
#define ARDUINO_RUNNING_CORE 1
60+
#endif
5461

5562
static xQueueHandle _network_event_queue;
5663
static TaskHandle_t _network_event_task_handle = NULL;

0 commit comments

Comments
 (0)