From e53b93384ab570f8f6f43296b21fd98859835a03 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Fri, 30 Apr 2010 07:17:50 +0000 Subject: [PATCH] Print out rdc instead of mac --- apps/shell/shell-rime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/shell/shell-rime.c b/apps/shell/shell-rime.c index 38f420856..f6bcc3fdf 100644 --- a/apps/shell/shell-rime.c +++ b/apps/shell/shell-rime.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: shell-rime.c,v 1.20 2010/04/04 12:27:31 adamdunkels Exp $ + * $Id: shell-rime.c,v 1.21 2010/04/30 07:17:50 adamdunkels Exp $ */ /** @@ -120,7 +120,7 @@ PROCESS_THREAD(shell_mac_process, ev, data) PROCESS_BEGIN(); onoroff = shell_strtolong((char *)data, &next); if(next == data) { - shell_output_str(&mac_command, "mac: current MAC layer: ", rime_mac->name); + shell_output_str(&mac_command, "mac: current MAC layer: ", NETSTACK_RDC.name); shell_output_str(&mac_command, "mac usage: ", mac_command.description); } else { if(onoroff) { @@ -129,7 +129,7 @@ PROCESS_THREAD(shell_mac_process, ev, data) } else { NETSTACK_RDC.off(1); shell_output_str(&mac_command, "mac: turned MAC off (keeping radio on): ", - rime_mac->name); + NETSTACK_RDC.name); } } PROCESS_END();