From bb9d430138064377778589b6f9f1fb8c1a1121f3 Mon Sep 17 00:00:00 2001 From: nifi Date: Tue, 23 Feb 2010 20:54:09 +0000 Subject: [PATCH] added bootup print of NETSTACK_RDC name --- platform/sky/contiki-sky-main.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/platform/sky/contiki-sky-main.c b/platform/sky/contiki-sky-main.c index 13f37518e..ba2c527c0 100644 --- a/platform/sky/contiki-sky-main.c +++ b/platform/sky/contiki-sky-main.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)$Id: contiki-sky-main.c,v 1.70 2010/02/23 18:45:16 adamdunkels Exp $ + * @(#)$Id: contiki-sky-main.c,v 1.71 2010/02/23 20:54:09 nifi Exp $ */ #include @@ -285,10 +285,10 @@ main(int argc, char **argv) NETSTACK_MAC.init(); NETSTACK_NETWORK.init(); - printf(" %s, channel check rate %d Hz, radio channel %u\n", - sicslowpan_mac->name, - CLOCK_SECOND / (sicslowpan_mac->channel_check_interval() == 0? 1: - sicslowpan_mac->channel_check_interval()), + printf("%s %s, channel check rate %d Hz, radio channel %u\n", + NETSTACK_MAC.name, NETSTACK_RDC.name, + CLOCK_SECOND / (NETSTACK_RDC.channel_check_interval() == 0 ? 1: + NETSTACK_RDC.channel_check_interval()), RF_CHANNEL); process_start(&tcpip_process, NULL); @@ -331,10 +331,10 @@ main(int argc, char **argv) NETSTACK_MAC.init(); NETSTACK_NETWORK.init(); - printf(" %s, channel check rate %lu Hz, radio channel %u\n", - rime_mac->name, - CLOCK_SECOND / (rime_mac->channel_check_interval() == 0? 1: - rime_mac->channel_check_interval()), + printf("%s %s, channel check rate %lu Hz, radio channel %u\n", + NETSTACK_MAC.name, NETSTACK_RDC.name, + CLOCK_SECOND / (NETSTACK_RDC.channel_check_interval() == 0? 1: + NETSTACK_RDC.channel_check_interval()), RF_CHANNEL); #endif /* WITH_UIP6 */