diff --git a/libraries/WiFi/src/WiFi.h b/libraries/WiFi/src/WiFi.h index 35590cd02..2548f60bb 100644 --- a/libraries/WiFi/src/WiFi.h +++ b/libraries/WiFi/src/WiFi.h @@ -65,7 +65,7 @@ class WiFiClass : public MbedSocketClass { */ int begin(const char* ssid); - void MACAddress(uint8_t *mac_address); + void MACAddress(uint8_t *mac_address) __attribute__((deprecated("Use macAddress(uint8_t *mac_address)"))); /* Start Wifi connection with passphrase * the most secure supported mode will be automatically selected