Skip to content

Commit

Permalink
Merge pull request #2152 from authmillenon/netdev-default-fix
Browse files Browse the repository at this point in the history
netdev: Fix netdev/default.h
  • Loading branch information
miri64 committed Dec 6, 2014
2 parents 973f9c7 + c63d029 commit 0e649e1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions drivers/include/netdev/default.h
Expand Up @@ -23,6 +23,8 @@
#include "netdev/base.h"

/**
* @def NETDEV_DEFAULT
*
* @brief Default device as a pointer of netdev_t.
*/
#ifdef MODULE_AT86RF231
Expand All @@ -42,22 +44,20 @@
#endif /* MODULE_CC110X */

#ifdef MODULE_NATIVENET

#include "nativenet.h"

#ifdef __cplusplus
extern "C" {
#endif

#ifndef NETDEV_DEFAULT
#define NETDEV_DEFAULT (&nativenet_default_dev)
#endif /* NETDEV_DEFAULT */
#endif /* MODULE_NATIVENET */

#ifdef __cplusplus
}
extern "C" {
#endif

#endif /* MODULE_NATIVENET */
#ifdef __cplusplus
}
#endif

#endif /* __NETDEV_DEFAULT_H_ */
/** @} */

0 comments on commit 0e649e1

Please sign in to comment.