Skip to content

Commit e9ccabc

Browse files
committed
system_reset is MBED_NORETURN
1 parent 90a731d commit e9ccabc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/mbed_power_mgmt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ us_timestamp_t mbed_uptime(void);
261261
*
262262
* @note Does not affect the debug sub-system
263263
*/
264-
static inline void system_reset(void)
264+
MBED_NORETURN static inline void system_reset(void)
265265
{
266266
NVIC_SystemReset();
267267
}

0 commit comments

Comments
 (0)