added bootup print of NETSTACK_RDC name
This commit is contained in:
parent
1cfcc8a73a
commit
bb9d430138
|
@ -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 <signal.h>
|
||||
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue