未验证 提交 fd72cf46 编写于 作者: S Sanket Wadekar 提交者: GitHub

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

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册