Skip to content

Commit 56293af

Browse files
authored
Merge pull request #8584 from kjbracey-arm/noreturn
system_reset is MBED_NORETURN
2 parents 2015a61 + e9ccabc commit 56293af

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)