From: Ivan Grokhotkov Date: Sun, 28 Jan 2018 11:26:37 +0000 (+0800) Subject: esp32: remove duplicate definition of system_restore X-Git-Tag: v3.1-beta1~441^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1979235df23c6c7ae3d3b462a52f0f46420bb941;p=esp-idf esp32: remove duplicate definition of system_restore Fixes https://github.com/espressif/esp-idf/issues/1520. --- diff --git a/components/esp32/system_api.c b/components/esp32/system_api.c index e35973175e..0c267c6c3f 100644 --- a/components/esp32/system_api.c +++ b/components/esp32/system_api.c @@ -355,11 +355,6 @@ void IRAM_ATTR esp_restart_noos() void system_restart(void) __attribute__((alias("esp_restart"))); -void system_restore(void) -{ - esp_wifi_restore(); -} - uint32_t esp_get_free_heap_size( void ) { return heap_caps_get_free_size( MALLOC_CAP_DEFAULT );