]> granicus.if.org Git - esp-idf/commitdiff
esp32: remove duplicate definition of system_restore
authorIvan Grokhotkov <ivan@espressif.com>
Sun, 28 Jan 2018 11:26:37 +0000 (19:26 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Sun, 28 Jan 2018 11:26:37 +0000 (19:26 +0800)
Fixes https://github.com/espressif/esp-idf/issues/1520.

components/esp32/system_api.c

index e35973175e1b867ad046fc777db4da35d7d9e77c..0c267c6c3f18370de2f4c484e965ed23509566e9 100644 (file)
@@ -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 );