aboutsummaryrefslogtreecommitdiff
path: root/src/include/reset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/reset.h')
-rw-r--r--src/include/reset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/reset.h b/src/include/reset.h
index 3d72a8cc0a..79bf6d5b20 100644
--- a/src/include/reset.h
+++ b/src/include/reset.h
@@ -4,7 +4,7 @@
#if !defined( __ROMCC__ )
/* ROMCC can't do function prototypes... */
-#if CONFIG_HAVE_HARD_RESET == 1
+#if CONFIG_HAVE_HARD_RESET
void hard_reset(void);
#else
#define hard_reset() do {} while(0)