esp32: remove duplicate definition of system_restore

Fixes https://github.com/espressif/esp-idf/issues/1520.
This commit is contained in:
Ivan Grokhotkov 2018-01-28 19:26:37 +08:00
parent 5b1f869880
commit 1979235df2

View 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 );