Skip to content

Commit bd6b368

Browse files
committed
typo, noreturn compliance
1 parent 0bc4292 commit bd6b368

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cores/esp8266/core_esp8266_postmortem.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -517,9 +517,8 @@ void __unhandled_exception(const char *what) {
517517
raise_exception();
518518
}
519519

520-
[[noreturn]]
521-
static inline void __panic_impl(const char *, const char *, int, const char *, const char *)
522-
__attribute__((always_inline));
520+
static inline void __panic_impl(user_rst_reason, const char *, int, const char *, const char *)
521+
__attribute__((noreturn, always_inline));
523522
static inline void __panic_impl(user_rst_reason reason, const char *file, int line, const char *func, const char *what) {
524523
s_user_reset_reason = reason;
525524
s_panic_file = file;

0 commit comments

Comments
 (0)