Unverified Commit fd72cf46 authored by Sanket Wadekar's avatar Sanket Wadekar Committed by GitHub

Changed Rainmaker WiFi/Factory reset time. (#7514)

parent 93a7f4e0
#include "RMakerUtils.h"
#ifdef CONFIG_ESP_RMAKER_WORK_QUEUE_TASK_STACK
void RMakerFactoryReset(int seconds)
#define RESET_DELAY_SEC 2
void RMakerFactoryReset(int reboot_seconds)
{
esp_rmaker_factory_reset(0, seconds);
esp_rmaker_factory_reset(RESET_DELAY_SEC, reboot_seconds);
}
void RMakerWiFiReset(int seconds)
void RMakerWiFiReset(int reboot_seconds)
{
esp_rmaker_wifi_reset(0, seconds);
esp_rmaker_wifi_reset(RESET_DELAY_SEC, reboot_seconds);
}
#endif
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment