8000 Attribute `__real_system_restart_local()` as `(noreturn)` by jjsuwa · Pull Request #7167 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content

Attribute __real_system_restart_local() as (noreturn) #7167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 26, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Attribute __real_system_restart_local() as (noreturn)
  • Loading branch information
Takayuki 'January June' Suwa committed Mar 26, 2020
commit 2e9c8e8032d18515724fd46dcca6d938772a1386
2 changes: 1 addition & 1 deletion cores/esp8266/Esp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ bool EspClass::rtcUserMemoryWrite(uint32_t offset, uint32_t *data, size_t size)



extern "C" void __real_system_restart_local();
extern "C" void __real_system_restart_local() __attribute__((noreturn));
void EspClass::reset(void)
{
__real_system_restart_local();
Expand Down
7DEE 2 changes: 1 addition & 1 deletion cores/esp8266/core_esp8266_postmortem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

extern "C" {

extern void __real_system_restart_local();
extern void __real_system_restart_local() __attribute__((noreturn));

// These will be pointers to PROGMEM const strings
static const char* s_panic_file = 0;
Expand Down
0