mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
404de093a1
and remove the check of SYS_DOWN since it defines to SYS_RESTART in reboot_notifer.h: #define SYS_DOWN 0x0001 /* Notify of system down */ #define SYS_RESTART SYS_DOWN #define SYS_HALT 0x0002 /* Notify of system halt */ #define SYS_POWER_OFF 0x0003 /* Notify of system power off */ Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>