esp32: Remove deprecated system_deep_sleep function

Deprecated since ESP-IDF V3.0
This commit is contained in:
Angus Gratton 2019-08-21 12:39:58 +10:00 committed by Angus Gratton
parent 5f8e5db268
commit 2c16557ee7
2 changed files with 0 additions and 12 deletions

View File

@ -295,16 +295,6 @@ esp_err_t esp_light_sleep_start();
*/
void esp_deep_sleep(uint64_t time_in_us) __attribute__((noreturn));
/**
* @brief Enter deep-sleep mode
*
* Function has been renamed to esp_deep_sleep.
* This name is deprecated and will be removed in a future version.
*
* @param time_in_us deep-sleep time, unit: microsecond
*/
void system_deep_sleep(uint64_t time_in_us) __attribute__((noreturn, deprecated));
/**
* @brief Get the wakeup source which caused wakeup from sleep

View File

@ -360,8 +360,6 @@ esp_err_t esp_light_sleep_start()
return err;
}
void system_deep_sleep(uint64_t) __attribute__((alias("esp_deep_sleep")));
esp_err_t esp_sleep_disable_wakeup_source(esp_sleep_source_t source)
{
// For most of sources it is enough to set trigger mask in local