Skip to content

Commit 6456908

Browse files
committed
WiFiS3: add missing return value to CAccessPoint = operator overload
1 parent a38606b commit 6456908

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: libraries/WiFiS3/src/WiFi.h

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class CAccessPoint {
4040
channel = obj.channel;
4141
encryption_mode = obj.encryption_mode;
4242
memcpy(uint_bssid, obj.uint_bssid, sizeof(uint_bssid));
43+
return *this;
4344
}
4445
char ssid[WL_SSID_MAX_LENGTH + 1]; // +1 for null terminator
4546
uint8_t uint_bssid[6];

0 commit comments

Comments
 (0)