Add some inludes explicitly
This commit is contained in:
parent
fe05c6f865
commit
e7eee05c7d
@ -32,10 +32,12 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
/*---------------------------------------------------------------------------*/
|
||||||
#ifndef SPI_ARCH_H_
|
#ifndef SPI_ARCH_H_
|
||||||
#define SPI_ARCH_H_
|
#define SPI_ARCH_H_
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
#include "contiki.h"
|
||||||
|
/*---------------------------------------------------------------------------*/
|
||||||
#define BOARD_SPI_CONTROLLERS 2
|
#define BOARD_SPI_CONTROLLERS 2
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
#define BOARD_SPI_CONTROLLER_SPI0 0
|
#define BOARD_SPI_CONTROLLER_SPI0 0
|
||||||
|
@ -37,8 +37,11 @@
|
|||||||
* Implementation of the platform-independent aspects of the SPI HAL
|
* Implementation of the platform-independent aspects of the SPI HAL
|
||||||
*/
|
*/
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
#include "contiki.h"
|
||||||
#include "spi-hal.h"
|
#include "spi-hal.h"
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stdbool.h>
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
spi_status_t
|
spi_status_t
|
||||||
spi_acquire(spi_device_t *dev)
|
spi_acquire(spi_device_t *dev)
|
||||||
|
Loading…
Reference in New Issue
Block a user