apps/graphics/ft80x and apps/examples/ft80x: Fix a few compile-relate issues introduced with last merge.
This commit is contained in:
parent
7c9f8ef9eb
commit
64a4622437
@ -49,8 +49,8 @@ STACKSIZE = $(CONFIG_EXAMPLES_FT80X_STACKSIZE)
|
||||
ASRCS =
|
||||
|
||||
CSRCS = ft80x_primitives.c ft80x_coprocessor.c
|
||||
ifneq ($(ONFIG_EXAMPLES_FT80X_EXCLUDE_BITMAPS),y)
|
||||
CSRCS = ft80x_bitmaps.c
|
||||
ifneq ($(CONFIG_EXAMPLES_FT80X_EXCLUDE_BITMAPS),y)
|
||||
CSRCS += ft80x_bitmaps.c
|
||||
endif
|
||||
|
||||
MAINSRC = ft80x_main.c
|
||||
|
@ -40,7 +40,7 @@
|
||||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>vim
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
|
@ -40,7 +40,7 @@ include $(APPDIR)/Make.defs
|
||||
# FTDI/BridgeTek FT80x library
|
||||
|
||||
ASRCS =
|
||||
CSRCS = ft80x_dl.c ft80x_regs.c
|
||||
CSRCS = ft80x_dl.c ft80x_ramg.c ft80x_regs.c
|
||||
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||
|
@ -86,7 +86,7 @@ int ft80x_ramg_write(int fd, unsigned int offset, FAR const void *data,
|
||||
ramg.nbytes = nbytes;
|
||||
ramg.value = (FAR void *)data; /* Need to discard const qualifier */
|
||||
|
||||
ret = ioctl(fd, FT80X_IOC_PUTRAMG. (unsigned long)((uintptr_t)&ramg));
|
||||
ret = ioctl(fd, FT80X_IOC_PUTRAMG, (unsigned long)((uintptr_t)&ramg));
|
||||
if (ret < 0)
|
||||
{
|
||||
int errcode = errno;
|
||||
|
Loading…
Reference in New Issue
Block a user