Skip to content

Commit 8d04b5e

Browse files
author
blue-2357
committed
Update WiFiGeneric.cpp
Missed definition
1 parent cb55573 commit 8d04b5e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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)