system api: Move common parts into esp_common component

Also mark esp_base_mac_addr_set argument as 'const *'
This commit is contained in:
Angus Gratton
2019-10-30 14:19:22 +11:00
committed by Angus Gratton
parent 912bd03a5c
commit 4827723d76
10 changed files with 550 additions and 734 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ void esp_fill_random(void *buf, size_t len);
* @return ESP_OK on success
* ESP_ERR_INVALID_ARG If mac is NULL or is not a unicast MAC
*/
esp_err_t esp_base_mac_addr_set(uint8_t *mac);
esp_err_t esp_base_mac_addr_set(const uint8_t *mac);
/**
* @brief Return base MAC address which is set using esp_base_mac_addr_set.