Merge pull request #451 from simonduq/fix/main-print-def-channel
Main: always log 802.15.4 default channel
This commit is contained in:
commit
48dfb0a23e
@ -91,11 +91,11 @@ main(void)
|
||||
LOG_INFO("- Net: %s\n", NETSTACK_NETWORK.name);
|
||||
LOG_INFO("- MAC: %s\n", NETSTACK_MAC.name);
|
||||
LOG_INFO("- 802.15.4 PANID: 0x%04x\n", IEEE802154_PANID);
|
||||
#if MAC_CONF_WITH_CSMA
|
||||
LOG_INFO("- 802.15.4 Channel: %u\n", IEEE802154_DEFAULT_CHANNEL);
|
||||
#elif MAC_CONF_WITH_TSCH
|
||||
#if MAC_CONF_WITH_TSCH
|
||||
LOG_INFO("- 802.15.4 TSCH default hopping sequence length: %u\n", (unsigned)sizeof(TSCH_DEFAULT_HOPPING_SEQUENCE));
|
||||
#endif
|
||||
#else /* MAC_CONF_WITH_TSCH */
|
||||
LOG_INFO("- 802.15.4 Default channel: %u\n", IEEE802154_DEFAULT_CHANNEL);
|
||||
#endif /* MAC_CONF_WITH_TSCH */
|
||||
|
||||
netstack_init();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user