diff --git a/include/sys/boardctl.h b/include/sys/boardctl.h index 7801e6c6a23..90e5431eddd 100644 --- a/include/sys/boardctl.h +++ b/include/sys/boardctl.h @@ -410,7 +410,7 @@ struct boardioc_boot_info_s }; #endif -#ifdef CONFIG_BOARDCTL_RESET_CAUSE +#if defined(CONFIG_BOARDCTL_RESET) || defined(CONFIG_BOARDCTL_RESET_CAUSE) /* Describes the reason of last reset */ enum boardioc_reset_cause_e