From 480bd0360fb9531edeaa80ac35a8a638834ec988 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Wed, 21 Aug 2019 12:46:09 +1000 Subject: [PATCH] esp32/esp_common: Remove deprecated esp_efuse_read_mac() function Deprecated since ESP-IDF V2.0 --- components/esp32/system_api.c | 2 -- components/esp_common/include/esp_system.h | 14 -------------- 2 files changed, 16 deletions(-) diff --git a/components/esp32/system_api.c b/components/esp32/system_api.c index a17d65a457..c3d77c01d3 100644 --- a/components/esp32/system_api.c +++ b/components/esp32/system_api.c @@ -118,8 +118,6 @@ esp_err_t esp_efuse_mac_get_default(uint8_t* mac) return ESP_OK; } -esp_err_t esp_efuse_read_mac(uint8_t *mac) __attribute__((alias("esp_efuse_mac_get_default"))); - esp_err_t esp_derive_local_mac(uint8_t* local_mac, const uint8_t* universal_mac) { uint8_t idx; diff --git a/components/esp_common/include/esp_system.h b/components/esp_common/include/esp_system.h index 7fa028846e..5e4fe882ff 100644 --- a/components/esp_common/include/esp_system.h +++ b/components/esp_common/include/esp_system.h @@ -198,20 +198,6 @@ esp_err_t esp_efuse_mac_get_custom(uint8_t *mac); */ esp_err_t esp_efuse_mac_get_default(uint8_t *mac); -/** @cond */ -/** - * @brief Read hardware MAC address from efuse. - * - * Function has been renamed to esp_efuse_mac_get_default. - * This name will be removed in a future release. - * - * @param mac hardware MAC address, length: 6 bytes. - * - * @return ESP_OK on success - */ -esp_err_t esp_efuse_read_mac(uint8_t *mac) __attribute__ ((deprecated)); -/** @endcond */ - /** * @brief Read base MAC address and set MAC address of the interface. * -- 2.40.0