net: ieee802154: Logging header should be loaded first
net_core.h is loading sys_log.h as well, so we need to be first in order to setup some local definitions. Change-Id: Ife482bd21e314aa5a5e88433eb8f9a560f9d53a6 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
6f7343a154
commit
434ba9311c
2 changed files with 4 additions and 4 deletions
|
@ -16,6 +16,10 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#define SYS_LOG_LEVEL CONFIG_SYS_LOG_TI_CC2520_LEVEL
|
||||
#define SYS_LOG_NO_NEWLINE
|
||||
#include <misc/sys_log.h>
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#include <nanokernel.h>
|
||||
|
|
|
@ -19,10 +19,6 @@
|
|||
#ifndef __IEEE802154_CC2520_H__
|
||||
#define __IEEE802154_CC2520_H__
|
||||
|
||||
#define SYS_LOG_LEVEL CONFIG_SYS_LOG_TI_CC2520_LEVEL
|
||||
#define SYS_LOG_NO_NEWLINE
|
||||
#include <misc/sys_log.h>
|
||||
|
||||
#include <sections.h>
|
||||
#include <atomic.h>
|
||||
#include <spi.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue