From ff5a167b644b5974017a4758f3d38f9bb522b012 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 23 Oct 2013 11:49:59 -0600 Subject: More apps/examples/cc3000 changes from David Sidrane --- apps/examples/cc3000/Makefile | 2 +- nuttx/include/nuttx/wireless/cc3000/include/cc3000_upif.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/examples/cc3000/Makefile b/apps/examples/cc3000/Makefile index 524c4f4f6..bf6bcc43f 100644 --- a/apps/examples/cc3000/Makefile +++ b/apps/examples/cc3000/Makefile @@ -50,7 +50,7 @@ STACKSIZE1 = 2048 # Hello, World! Example ASRCS = -CSRCS = cc3000basic.c board.c shell.c telnetd_driver.c +CSRCS = cc3000basic.c board.c shell.c telnetd_driver.c telnetd_daemon.c AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) diff --git a/nuttx/include/nuttx/wireless/cc3000/include/cc3000_upif.h b/nuttx/include/nuttx/wireless/cc3000/include/cc3000_upif.h index b998643d2..d121203a6 100644 --- a/nuttx/include/nuttx/wireless/cc3000/include/cc3000_upif.h +++ b/nuttx/include/nuttx/wireless/cc3000/include/cc3000_upif.h @@ -143,6 +143,7 @@ struct cc3000_config_s void (*power_enable)(FAR struct cc3000_config_s *state,bool enable); void (*chip_select)(FAR struct cc3000_config_s *state,bool enable); bool (*irq_read)(FAR struct cc3000_config_s *state); + bool (*probe)(FAR struct cc3000_config_s *state, int n, bool s); }; /**************************************************************************** -- cgit v1.2.3