Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
fd72cf46
Unverified
Commit
fd72cf46
authored
Nov 25, 2022
by
Sanket Wadekar
Committed by
GitHub
Nov 25, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed Rainmaker WiFi/Factory reset time. (#7514)
parent
93a7f4e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
libraries/RainMaker/src/RMakerUtils.cpp
libraries/RainMaker/src/RMakerUtils.cpp
+5
-4
No files found.
libraries/RainMaker/src/RMakerUtils.cpp
View file @
fd72cf46
#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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment