Rename new SPI API to spi.[ch]

This commit is contained in:
George Oikonomou 2018-03-02 20:37:28 +00:00 committed by Xenofon (Fontas) Fafoutis
parent 8ea998847b
commit 2cad626360
6 changed files with 8 additions and 10 deletions

View File

@ -32,7 +32,7 @@
#include <stdint.h>
#include "contiki.h"
#include "reg.h"
#include "spi-hal.h"
#include "dev/spi.h"
#include "gpio-hal-arch.h"
#include "sys/cc.h"
#include "ioc.h"

View File

@ -29,7 +29,7 @@
*/
#include "contiki.h"
#include "ti-lib.h"
#include "spi-hal.h"
#include "dev/spi.h"
#include "sys/mutex.h"
#include <stdint.h>

View File

@ -38,7 +38,7 @@
/*---------------------------------------------------------------------------*/
#include "contiki.h"
#include "ext-flash.h"
#include "spi-hal.h"
#include "dev/spi.h"
#include "gpio-hal.h"
#include "sys/log.h"

View File

@ -42,8 +42,7 @@
#ifndef EXT_FLASH_H_
#define EXT_FLASH_H_
/*---------------------------------------------------------------------------*/
#include "spi-hal.h"
#include "dev/spi.h"
#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>

View File

@ -37,9 +37,8 @@
* Implementation of the platform-independent aspects of the SPI HAL
*/
/*---------------------------------------------------------------------------*/
#include <dev/spi.h>
#include "contiki.h"
#include "spi-hal.h"
#include <stdint.h>
#include <stdbool.h>
/*---------------------------------------------------------------------------*/

View File

@ -45,8 +45,8 @@
* Header file for the SPI HAL
*/
/*---------------------------------------------------------------------------*/
#ifndef SPI_HAL_H_
#define SPI_HAL_H_
#ifndef SPI_H_
#define SPI_H_
/*---------------------------------------------------------------------------*/
#include "contiki.h"
#include "gpio-hal.h"
@ -358,7 +358,7 @@ spi_status_t spi_arch_select(spi_device_t *dev);
*/
spi_status_t spi_arch_deselect(spi_device_t *dev);
#endif /* SPI_HAL_H_ */
#endif /* SPI_H_ */
/*---------------------------------------------------------------------------*/
/**
* @}