Skip to content

Commit

Permalink
fixup! fixup! drivers: add netdev driver for ATWINC15x0 WiFi module
Browse files Browse the repository at this point in the history
  • Loading branch information
gschorcht committed Jun 26, 2020
1 parent ecd5d54 commit cceb6dc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion drivers/atwinc15x0/atwinc15x0_bsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @}
*/

#include "atwinc15x0.h"
#include "atwinc15x0_internal.h"
#include "mutex.h"
#include "periph/spi.h"
#include "xtimer.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/atwinc15x0/atwinc15x0_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @}
*/

#include "atwinc15x0.h"
#include "atwinc15x0_internal.h"
#include "bus_wrapper/include/nm_bus_wrapper.h"

#define ENABLE_DEBUG (0)
Expand Down
2 changes: 1 addition & 1 deletion drivers/atwinc15x0/atwinc15x0_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#define ETH_MODE (1)

#include "atwinc15x0.h"
#include "atwinc15x0_internal.h"
#include "atwinc15x0_params.h"

#include "bus_wrapper/include/nm_bus_wrapper.h"
Expand Down
7 changes: 1 addition & 6 deletions drivers/atwinc15x0/include/atwinc15x0_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,12 @@
#ifndef ATWINC15X0_INTERNAL_H
#define ATWINC15X0_INTERNAL_H

#include "bsp/include/nm_bsp.h"
#include "atwinc15x0.h"

#ifdef __cplusplus
extern "C" {
#endif

/**
* @brief Forward declaration of ATWINC15x0 device descriptor type.
*/
typedef struct atwinc15x0 atwinc15x0_t;

/**
* @brief Reference to the single ATWINC15x0 device instance
*
Expand Down
3 changes: 1 addition & 2 deletions drivers/include/atwinc15x0.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
#ifndef ATWINC15X0_H
#define ATWINC15X0_H

#include "atwinc15x0_internal.h"

#include "bsp/include/nm_bsp.h"
#include "net/ethernet.h"
#include "net/netdev.h"
#include "periph/gpio.h"
Expand Down

0 comments on commit cceb6dc

Please sign in to comment.