From 165e2665028704f6a4aeffae30efd32baaf0b8fd Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Tue, 4 Apr 2023 18:16:13 +0800 Subject: [PATCH] reboot: Remove SYS_DOWN to avoid the confusion Signed-off-by: Xiang Xiao --- include/nuttx/reboot_notifier.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/nuttx/reboot_notifier.h b/include/nuttx/reboot_notifier.h index b08cd0cfa1..08ae2b4fca 100644 --- a/include/nuttx/reboot_notifier.h +++ b/include/nuttx/reboot_notifier.h @@ -34,8 +34,7 @@ * Pre-processor Definitions ****************************************************************************/ -#define SYS_DOWN 0x0001 /* Notify of system down */ -#define SYS_RESTART SYS_DOWN +#define SYS_RESTART 0x0001 /* Notify of system restart */ #define SYS_HALT 0x0002 /* Notify of system halt */ #define SYS_POWER_OFF 0x0003 /* Notify of system power off */