Skip to content

Commit 15b50af

Browse files
committed
Make macAddress compatible with AP
1 parent 585df8b commit 15b50af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/WiFi/src/WiFi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ uint8_t* arduino::WiFiClass::BSSID(unsigned char* bssid) {
208208
}
209209

210210
uint8_t* arduino::WiFiClass::macAddress(uint8_t* mac) {
211-
const char *mac_str = wifi_if->get_mac_address();
211+
const char *mac_str = getNetwork()->get_mac_address();
212212
for( int b = 0; b < 6; b++ )
213213
{
214214
uint32_t tmp;

0 commit comments

Comments
 (0)