mirror of
https://github.com/apache/nuttx.git
synced 2026-08-27 04:10:40 +00:00
Calypso/Compal_e86 update from Craig Comstock
This commit is contained in:
parent
8172e4cec1
commit
c62fe184bf
1 changed files with 6 additions and 1 deletions
|
|
@ -43,6 +43,7 @@
|
|||
#include <unistd.h>
|
||||
#include <semaphore.h>
|
||||
#include <debug.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "calypso_spi.h"
|
||||
|
|
@ -66,8 +67,12 @@ struct calypso_spidev_s
|
|||
};
|
||||
|
||||
/* STUBS! */
|
||||
|
||||
#ifndef CONFIG_SPI_OWNBUS
|
||||
static int spi_lock(FAR struct spi_dev_s *dev, bool lock);
|
||||
static int spi_lock(FAR struct spi_dev_s *dev, bool lock)
|
||||
{
|
||||
return -ENOSYS;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void spi_select(FAR struct spi_dev_s *dev, enum spi_dev_e devid,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue