mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-23 08:45:22 +03:00
update SDK to v1.2.0_15_07_03
This commit is contained in:
committed by
Ivan Grokhotkov
parent
39883f5ea8
commit
d4ddb66fc4
@ -81,18 +81,25 @@ EspClass ESP;
|
||||
|
||||
void EspClass::wdtEnable(uint32_t timeout_ms)
|
||||
{
|
||||
/// This API can only be called if software watchdog is stopped
|
||||
system_soft_wdt_restart();
|
||||
}
|
||||
|
||||
void EspClass::wdtEnable(WDTO_t timeout_ms)
|
||||
{
|
||||
wdtEnable((uint32_t) timeout_ms);
|
||||
}
|
||||
|
||||
void EspClass::wdtDisable(void)
|
||||
{
|
||||
/// Please don<6F>t stop software watchdog too long (less than 6 seconds),
|
||||
/// otherwise it will trigger hardware watchdog reset.
|
||||
system_soft_wdt_stop();
|
||||
}
|
||||
|
||||
void EspClass::wdtFeed(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void EspClass::deepSleep(uint32_t time_us, WakeMode mode)
|
||||
|
Reference in New Issue
Block a user