From 92dfd8a3471650e8bcccba3a4f50dada92d31b6a Mon Sep 17 00:00:00 2001 From: Vincent Dupont Date: Thu, 9 Nov 2017 13:11:55 +0100 Subject: [PATCH] shell_commands: fix rtc shell command --- sys/shell/commands/shell_commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/shell/commands/shell_commands.c b/sys/shell/commands/shell_commands.c index 96bb932aa8..c14034b6e0 100644 --- a/sys/shell/commands/shell_commands.c +++ b/sys/shell/commands/shell_commands.c @@ -57,7 +57,7 @@ extern int _at30tse75x_handler(int argc, char **argv); extern int _saul(int argc, char **argv); #endif -#if FEATURE_PERIPH_RTC +#ifdef MODULE_PERIPH_RTC extern int _rtc_handler(int argc, char **argv); #endif @@ -187,7 +187,7 @@ const shell_command_t _shell_command_list[] = { { "random_init", "initializes the PRNG", _random_init }, { "random_get", "returns 32 bit of pseudo randomness", _random_get }, #endif -#if FEATURE_PERIPH_RTC +#ifdef MODULE_PERIPH_RTC {"rtc", "control RTC peripheral interface", _rtc_handler}, #endif #ifdef CPU_X86