diff options
Diffstat (limited to 'chip/mec1322')
-rw-r--r-- | chip/mec1322/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/mec1322/clock.c b/chip/mec1322/clock.c index 1cb0bc4aaf..c305b16ffc 100644 --- a/chip/mec1322/clock.c +++ b/chip/mec1322/clock.c @@ -414,9 +414,8 @@ void __idle(void) interrupt_enable(); } /* while(1) */ } -#endif /*CONFIG_LOW_POWER_IDLE*/ -#ifdef CONFIG_LOW_POWER_IDLE +#ifdef CONFIG_CMD_IDLE_STATS /** * Print low power idle statistics */ @@ -435,6 +434,7 @@ static int command_idle_stats(int argc, char **argv) DECLARE_CONSOLE_COMMAND(idlestats, command_idle_stats, "", "Print last idle stats"); +#endif /* defined(CONFIG_CMD_IDLE_STATS) */ /** * Configure deep sleep clock settings. |