mirror of https://github.com/ARMmbed/mbed-os.git
system_reset is MBED_NORETURN
parent
90a731daee
commit
e9ccabcadc
|
@ -261,7 +261,7 @@ us_timestamp_t mbed_uptime(void);
|
||||||
*
|
*
|
||||||
* @note Does not affect the debug sub-system
|
* @note Does not affect the debug sub-system
|
||||||
*/
|
*/
|
||||||
static inline void system_reset(void)
|
MBED_NORETURN static inline void system_reset(void)
|
||||||
{
|
{
|
||||||
NVIC_SystemReset();
|
NVIC_SystemReset();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue