forked from espressif/arduino-esp32
17 lines
323 B
C
17 lines
323 B
C
#include "esp_system.h"
|
|
#if ESP_IDF_VERSION_MAJOR >= 4 && CONFIG_ESP_RMAKER_TASK_STACK && CONFIG_IDF_TARGET_ESP32
|
|
|
|
#include <esp_rmaker_utils.h>
|
|
|
|
static void RMakerFactoryReset(int seconds)
|
|
{
|
|
esp_rmaker_factory_reset(seconds);
|
|
}
|
|
|
|
static void RMakerWiFiReset(int seconds)
|
|
{
|
|
esp_rmaker_wifi_reset(seconds);
|
|
}
|
|
|
|
#endif
|