1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-23 08:45:22 +03:00

Attribute __real_system_restart_local() as (noreturn) (#7167)

* Attribute `__real_system_restart_local()` as `(noreturn)`
* As well as `abort()`.
* Aggragate two decls into `coredecls.h`.
This commit is contained in:
Takayuki 'January June' Suwa
2020-03-27 06:28:09 +09:00
committed by GitHub
parent 726df6967c
commit 631f66bd08
3 changed files with 2 additions and 5 deletions

View File

@ -193,9 +193,6 @@ bool EspClass::rtcUserMemoryWrite(uint32_t offset, uint32_t *data, size_t size)
}
}
extern "C" void __real_system_restart_local();
void EspClass::reset(void)
{
__real_system_restart_local();