Skip to content

Commit 5c2458b

Browse files
committed
WiFi: deprecate MACAddress
1 parent 89c7c9a commit 5c2458b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/WiFi/src/WiFi.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class WiFiClass : public MbedSocketClass {
6565
*/
6666
int begin(const char* ssid);
6767

68-
void MACAddress(uint8_t *mac_address);
68+
void MACAddress(uint8_t *mac_address) __attribute__((deprecated("Use macAddress(uint8_t *mac_address)")));
6969

7070
/* Start Wifi connection with passphrase
7171
* the most secure supported mode will be automatically selected

0 commit comments

Comments
 (0)