summaryrefslogtreecommitdiff
path: root/src/arch/lm4f120h5qr-stellaris/arch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/lm4f120h5qr-stellaris/arch.cc')
-rw-r--r--src/arch/lm4f120h5qr-stellaris/arch.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/arch/lm4f120h5qr-stellaris/arch.cc b/src/arch/lm4f120h5qr-stellaris/arch.cc
index c87af2f..e613e42 100644
--- a/src/arch/lm4f120h5qr-stellaris/arch.cc
+++ b/src/arch/lm4f120h5qr-stellaris/arch.cc
@@ -20,16 +20,16 @@ extern "C" {
void Arch::setup(void)
{
arch_clock_init();
-#if defined(WITH_LOOP)
+#if defined(CONFIG_loop)
arch_init_loop();
#endif
}
-#ifdef WITH_WAKEUP
+#ifdef CONFIG_wakeup
extern void wakeup();
#endif
-#if defined(WITH_LOOP)
+#if defined(CONFIG_loop)
extern void loop();
extern volatile char run_loop;
#endif
@@ -56,7 +56,7 @@ void Arch::idle_loop(void)
{
while (1) {
__asm__("wfi");
-#ifdef WITH_LOOP
+#ifdef CONFIG_loop
if (run_loop) {
#ifdef TIMER_S
uptime.tick_s();
@@ -71,7 +71,7 @@ void Arch::idle_loop(void)
void Arch::idle(void)
{
__asm__("wfi");
-#ifdef WITH_WAKEUP
+#ifdef CONFIG_wakeup
wakeup();
#endif
}