-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
The following line of code seems to not be working anymore:
peerInfo.ifidx = ESP_IF_WIFI_STA;
I get the following error
In file included from sketch\ESP_NOW_2.ino.cpp:1:0:
C:\Users\..\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.7\cores\esp32/Arduino.h:194:12: error: 'std::round' has not been declared
using std::round;
^
C:\Users\..\..\Documents\Arduino\..\ESP_NOW_2\ESP_NOW_2.ino: In function 'void initEspNow()':
ESP_NOW_2:139:20: error: cannot convert 'esp_interface_t' to 'wifi_interface_t' in assignment
peerInfo.ifidx = ESP_IF_WIFI_STA;
^
Multiple libraries were found for "WiFi.h"
Used: C:\Users\..\..\..\Arduino15\packages\esp32\hardware\esp32\2.0.7\libraries\WiFi
Not used: D:\Program Files\Arduino\libraries\WiFi
exit status 1
cannot convert 'esp_interface_t' to 'wifi_interface_t' in assignment
Metadata
Metadata
Assignees
Labels
No labels