mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
Standardize the width of all comment boxes in header files
This commit is contained in:
+1
-1
Submodule arch updated: 6a1d7e2d00...277302f14a
@@ -68,9 +68,9 @@ extern "C"
|
|||||||
|
|
||||||
EXTERN FAR struct binfmt_s *g_binfmts;
|
EXTERN FAR struct binfmt_s *g_binfmts;
|
||||||
|
|
||||||
/***********************************************************************
|
/****************************************************************************
|
||||||
* Public Function Prototypes
|
* Public Function Prototypes
|
||||||
***********************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: dump_module
|
* Name: dump_module
|
||||||
|
|||||||
+1
-1
Submodule configs updated: 35414c3a91...55aaa32ed3
@@ -1,4 +1,4 @@
|
|||||||
/**************************************************************************
|
/****************************************************************************
|
||||||
* drivers/wireless/cc3000/cc3000drv.h - Driver wrapper functions to
|
* drivers/wireless/cc3000/cc3000drv.h - Driver wrapper functions to
|
||||||
* connect nuttx to the TI CC3000
|
* connect nuttx to the TI CC3000
|
||||||
*
|
*
|
||||||
|
|||||||
+10
-10
@@ -1,4 +1,4 @@
|
|||||||
/************************************************************************
|
/****************************************************************************
|
||||||
* include/errno.h
|
* include/errno.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||||
@@ -31,20 +31,20 @@
|
|||||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __INCLUDE_ERRNO_H
|
#ifndef __INCLUDE_ERRNO_H
|
||||||
#define __INCLUDE_ERRNO_H
|
#define __INCLUDE_ERRNO_H
|
||||||
|
|
||||||
/************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <nuttx/compiler.h>
|
#include <nuttx/compiler.h>
|
||||||
|
|
||||||
/************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
************************************************************************/
|
****************************************************************************/
|
||||||
/* How can we access the errno variable? */
|
/* How can we access the errno variable? */
|
||||||
|
|
||||||
#if !defined(CONFIG_BUILD_PROTECTED) && !defined(CONFIG_BUILD_KERNEL)
|
#if !defined(CONFIG_BUILD_PROTECTED) && !defined(CONFIG_BUILD_KERNEL)
|
||||||
@@ -378,13 +378,13 @@
|
|||||||
#define ECANCELED 125
|
#define ECANCELED 125
|
||||||
#define ECANCELED_STR "Operation cancelled"
|
#define ECANCELED_STR "Operation cancelled"
|
||||||
|
|
||||||
/************************************************************************
|
/****************************************************************************
|
||||||
* Public Type Definitions
|
* Public Type Definitions
|
||||||
************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/************************************************************************
|
/****************************************************************************
|
||||||
* Public Function Prototypes
|
* Public Function Prototypes
|
||||||
************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#undef EXTERN
|
#undef EXTERN
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
|
|||||||
+6
-6
@@ -42,9 +42,9 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/**************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
**************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* Common numbers */
|
/* Common numbers */
|
||||||
|
|
||||||
@@ -191,9 +191,9 @@
|
|||||||
# define ub16divub16(a,b) (ub16_t)(ub16toub32(a)/(ub32_t)(b))
|
# define ub16divub16(a,b) (ub16_t)(ub16toub32(a)/(ub32_t)(b))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**************************************************************************
|
/****************************************************************************
|
||||||
* Public Types
|
* Public Types
|
||||||
**************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
typedef int16_t b8_t;
|
typedef int16_t b8_t;
|
||||||
typedef uint16_t ub8_t;
|
typedef uint16_t ub8_t;
|
||||||
@@ -204,9 +204,9 @@ typedef int64_t b32_t;
|
|||||||
typedef uint64_t ub32_t;
|
typedef uint64_t ub32_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
**************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#undef EXTERN
|
#undef EXTERN
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
|
|||||||
@@ -1604,7 +1604,7 @@ char up_romgetc(FAR const char *ptr);
|
|||||||
* Some device drivers may require that the plaform-specific logic
|
* Some device drivers may require that the plaform-specific logic
|
||||||
* provide these timing loops for short delays.
|
* provide these timing loops for short delays.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
void up_mdelay(unsigned int milliseconds);
|
void up_mdelay(unsigned int milliseconds);
|
||||||
void up_udelay(useconds_t microseconds);
|
void up_udelay(useconds_t microseconds);
|
||||||
@@ -1623,7 +1623,7 @@ void up_udelay(useconds_t microseconds);
|
|||||||
* definition only provides the 'contract' between application
|
* definition only provides the 'contract' between application
|
||||||
* specific C++ code and platform-specific toolchain support
|
* specific C++ code and platform-specific toolchain support
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE)
|
#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE)
|
||||||
void up_cxxinitialize(void);
|
void up_cxxinitialize(void);
|
||||||
@@ -1698,7 +1698,7 @@ void sched_timer_expiration(void);
|
|||||||
void sched_alarm_expiration(FAR const struct timespec *ts);
|
void sched_alarm_expiration(FAR const struct timespec *ts);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************************************************************************
|
/****************************************************************************
|
||||||
* Name: sched_process_cpuload
|
* Name: sched_process_cpuload
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
@@ -1714,7 +1714,7 @@ void sched_alarm_expiration(FAR const struct timespec *ts);
|
|||||||
* This function is called from a timer interrupt handler with all
|
* This function is called from a timer interrupt handler with all
|
||||||
* interrupts disabled.
|
* interrupts disabled.
|
||||||
*
|
*
|
||||||
************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#if defined(CONFIG_SCHED_CPULOAD) && defined(CONFIG_SCHED_CPULOAD_EXTCLK)
|
#if defined(CONFIG_SCHED_CPULOAD) && defined(CONFIG_SCHED_CPULOAD_EXTCLK)
|
||||||
void weak_function sched_process_cpuload(void);
|
void weak_function sched_process_cpuload(void);
|
||||||
@@ -1728,7 +1728,7 @@ void weak_function sched_process_cpuload(void);
|
|||||||
* order to dispatch an interrupt to the appropriate, registered handling
|
* order to dispatch an interrupt to the appropriate, registered handling
|
||||||
* logic.
|
* logic.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
void irq_dispatch(int irq, FAR void *context);
|
void irq_dispatch(int irq, FAR void *context);
|
||||||
|
|
||||||
|
|||||||
@@ -249,7 +249,7 @@ int nxflat_unload(struct nxflat_loadinfo_s *loadinfo);
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* These are APIs used internally only by NuttX:
|
* These are APIs used internally only by NuttX:
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
/***********************************************************************
|
/****************************************************************************
|
||||||
* Name: nxflat_initialize
|
* Name: nxflat_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
@@ -262,7 +262,7 @@ int nxflat_unload(struct nxflat_loadinfo_s *loadinfo);
|
|||||||
* 0 (OK) is returned on success and a negated errno is returned on
|
* 0 (OK) is returned on success and a negated errno is returned on
|
||||||
* failure.
|
* failure.
|
||||||
*
|
*
|
||||||
***********************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
int nxflat_initialize(void);
|
int nxflat_initialize(void);
|
||||||
|
|
||||||
|
|||||||
@@ -351,7 +351,7 @@ int board_ioctl(unsigned int cmd, uintptr_t arg);
|
|||||||
* multiple LCD devices.
|
* multiple LCD devices.
|
||||||
* board_lcd_uninitialize - Uninitialize the LCD support
|
* board_lcd_uninitialize - Uninitialize the LCD support
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_LCD
|
#ifdef CONFIG_LCD
|
||||||
struct lcd_dev_s; /* Forward reference */
|
struct lcd_dev_s; /* Forward reference */
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ extern "C"
|
|||||||
#define EXTERN extern
|
#define EXTERN extern
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************************************************************************
|
/****************************************************************************
|
||||||
* Name: mq_msgqfree
|
* Name: mq_msgqfree
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
@@ -128,7 +128,7 @@ extern "C"
|
|||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
void mq_msgqfree(FAR struct mqueue_inode_s *msgq);
|
void mq_msgqfree(FAR struct mqueue_inode_s *msgq);
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/***************************************************************************
|
/****************************************************************************
|
||||||
* include/nuttx/poff.h
|
* include/nuttx/poff.h
|
||||||
* Definitions for the P-Code Object File Format (POFF)
|
* Definitions for the P-Code Object File Format (POFF)
|
||||||
*
|
*
|
||||||
@@ -32,21 +32,21 @@
|
|||||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __INCLUDE_NUXX_POFF_H
|
#ifndef __INCLUDE_NUXX_POFF_H
|
||||||
#define __INCLUDE_NUXX_POFF_H
|
#define __INCLUDE_NUXX_POFF_H
|
||||||
|
|
||||||
/***************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
***************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/***************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
***************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* Definitions for the fh_ident field of the poffHdr_t */
|
/* Definitions for the fh_ident field of the poffHdr_t */
|
||||||
|
|
||||||
@@ -157,9 +157,9 @@
|
|||||||
#define RLI_TYPE(x) ((x) & 0xff) /* Reloc type */
|
#define RLI_TYPE(x) ((x) & 0xff) /* Reloc type */
|
||||||
#define RLI_MAKE(s,t) (((uint32_t)(s) << 8) | ((t) & 0xff))
|
#define RLI_MAKE(s,t) (((uint32_t)(s) << 8) | ((t) & 0xff))
|
||||||
|
|
||||||
/***************************************************************************
|
/****************************************************************************
|
||||||
* Public Types
|
* Public Types
|
||||||
***************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* POFF file header */
|
/* POFF file header */
|
||||||
|
|
||||||
|
|||||||
+10
-10
@@ -36,9 +36,9 @@
|
|||||||
#ifndef __INCLUDE_NUTTX_RWBUFFER_H
|
#ifndef __INCLUDE_NUTTX_RWBUFFER_H
|
||||||
#define __INCLUDE_NUTTX_RWBUFFER_H
|
#define __INCLUDE_NUTTX_RWBUFFER_H
|
||||||
|
|
||||||
/**********************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
**********************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
@@ -49,13 +49,13 @@
|
|||||||
|
|
||||||
#if defined(CONFIG_DRVR_WRITEBUFFER) || defined(CONFIG_DRVR_READAHEAD)
|
#if defined(CONFIG_DRVR_WRITEBUFFER) || defined(CONFIG_DRVR_READAHEAD)
|
||||||
|
|
||||||
/**********************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
**********************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/**********************************************************************
|
/****************************************************************************
|
||||||
* Public Types
|
* Public Types
|
||||||
**********************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* Data transfer callouts. These must be provided by the block driver
|
/* Data transfer callouts. These must be provided by the block driver
|
||||||
* logic in order to flush the write buffer when appropriate or to
|
* logic in order to flush the write buffer when appropriate or to
|
||||||
@@ -154,9 +154,9 @@ struct rwbuffer_s
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
/**********************************************************************
|
/****************************************************************************
|
||||||
* Public Data
|
* Public Data
|
||||||
**********************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#undef EXTERN
|
#undef EXTERN
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
@@ -167,9 +167,9 @@ extern "C"
|
|||||||
#define EXTERN extern
|
#define EXTERN extern
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**********************************************************************
|
/****************************************************************************
|
||||||
* Public Function Prototypes
|
* Public Function Prototypes
|
||||||
**********************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* Buffer initialization */
|
/* Buffer initialization */
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/**************************************************************************
|
/****************************************************************************
|
||||||
* (C) 2008-2010 by Harald Welte <laforge@gnumonks.org>
|
* (C) 2008-2010 by Harald Welte <laforge@gnumonks.org>
|
||||||
*
|
*
|
||||||
* This source code is derivated from Osmocom-BB project and was
|
* This source code is derivated from Osmocom-BB project and was
|
||||||
@@ -31,21 +31,21 @@
|
|||||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
**************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __INCLUDE_NUTTX_SERCOM_MSGB_H
|
#ifndef __INCLUDE_NUTTX_SERCOM_MSGB_H
|
||||||
#define __INCLUDE_NUTTX_SERCOM_MSGB_H
|
#define __INCLUDE_NUTTX_SERCOM_MSGB_H
|
||||||
|
|
||||||
/**************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
**************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <osmocom/core/linuxlist.h>
|
#include <osmocom/core/linuxlist.h>
|
||||||
#include <console.h>
|
#include <console.h>
|
||||||
|
|
||||||
/**************************************************************************
|
/****************************************************************************
|
||||||
* Public Types
|
* Public Types
|
||||||
**************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
struct msgb
|
struct msgb
|
||||||
{
|
{
|
||||||
@@ -72,9 +72,9 @@ struct msgb
|
|||||||
unsigned char _data[0];
|
unsigned char _data[0];
|
||||||
};
|
};
|
||||||
|
|
||||||
/**************************************************************************
|
/****************************************************************************
|
||||||
* Public Function Prototypes
|
* Public Function Prototypes
|
||||||
**************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
struct msgb *msgb_alloc(uint16_t size, const char *name);
|
struct msgb *msgb_alloc(uint16_t size, const char *name);
|
||||||
void msgb_free(struct msgb *m);
|
void msgb_free(struct msgb *m);
|
||||||
@@ -82,9 +82,9 @@ void msgb_enqueue(struct llist_head *queue, struct msgb *msg);
|
|||||||
struct msgb *msgb_dequeue(struct llist_head *queue);
|
struct msgb *msgb_dequeue(struct llist_head *queue);
|
||||||
void msgb_reset(struct msgb *m);
|
void msgb_reset(struct msgb *m);
|
||||||
|
|
||||||
/**************************************************************************
|
/****************************************************************************
|
||||||
* Inline Functions
|
* Inline Functions
|
||||||
**************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#define msgb_l1(m) ((void *)(m->l1h))
|
#define msgb_l1(m) ((void *)(m->l1h))
|
||||||
#define msgb_l2(m) ((void *)(m->l2h))
|
#define msgb_l2(m) ((void *)(m->l2h))
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ FAR void *composite_initialize(void);
|
|||||||
* Returned Value:
|
* Returned Value:
|
||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
void composite_uninitialize(FAR void *handle);
|
void composite_uninitialize(FAR void *handle);
|
||||||
|
|
||||||
|
|||||||
@@ -372,7 +372,7 @@ extern "C"
|
|||||||
* multiple planes of video.
|
* multiple planes of video.
|
||||||
* up_fbuninitialize - Uninitialize the framebuffer support
|
* up_fbuninitialize - Uninitialize the framebuffer support
|
||||||
*
|
*
|
||||||
***************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
int up_fbinitialize(void);
|
int up_fbinitialize(void);
|
||||||
FAR struct fb_vtable_s *up_fbgetvplane(int vplane);
|
FAR struct fb_vtable_s *up_fbgetvplane(int vplane);
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ extern "C"
|
|||||||
#define EXTERN extern
|
#define EXTERN extern
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************************************************************************
|
/****************************************************************************
|
||||||
* Name: sendfile
|
* Name: sendfile
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
@@ -112,7 +112,7 @@ extern "C"
|
|||||||
* EINVAL - Bad input parameters.
|
* EINVAL - Bad input parameters.
|
||||||
* ENOMEM - Could not allocated an I/O buffer
|
* ENOMEM - Could not allocated an I/O buffer
|
||||||
*
|
*
|
||||||
************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
ssize_t sendfile(int outfd, int infd, FAR off_t *offset, size_t count);
|
ssize_t sendfile(int outfd, int infd, FAR off_t *offset, size_t count);
|
||||||
|
|
||||||
|
|||||||
+14
-14
@@ -1,4 +1,4 @@
|
|||||||
/************************************************************************
|
/****************************************************************************
|
||||||
* sched/wdog/wdog.h
|
* sched/wdog/wdog.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007, 2009, 2014 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007, 2009, 2014 Gregory Nutt. All rights reserved.
|
||||||
@@ -31,14 +31,14 @@
|
|||||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef __SCHED_WDOG_WDOG_H
|
#ifndef __SCHED_WDOG_WDOG_H
|
||||||
#define __SCHED_WDOG_WDOG_H
|
#define __SCHED_WDOG_WDOG_H
|
||||||
|
|
||||||
/************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
@@ -48,17 +48,17 @@
|
|||||||
#include <nuttx/compiler.h>
|
#include <nuttx/compiler.h>
|
||||||
#include <nuttx/wdog.h>
|
#include <nuttx/wdog.h>
|
||||||
|
|
||||||
/************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/************************************************************************
|
/****************************************************************************
|
||||||
* Public Type Declarations
|
* Public Type Declarations
|
||||||
************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/************************************************************************
|
/****************************************************************************
|
||||||
* Public Data
|
* Public Data
|
||||||
************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#define EXTERN extern "C"
|
#define EXTERN extern "C"
|
||||||
@@ -88,11 +88,11 @@ extern sq_queue_t g_wdactivelist;
|
|||||||
|
|
||||||
extern uint16_t g_wdnfree;
|
extern uint16_t g_wdnfree;
|
||||||
|
|
||||||
/************************************************************************
|
/****************************************************************************
|
||||||
* Public Function Prototypes
|
* Public Function Prototypes
|
||||||
************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/************************************************************************
|
/****************************************************************************
|
||||||
* Name: wd_initialize
|
* Name: wd_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
@@ -109,7 +109,7 @@ extern uint16_t g_wdnfree;
|
|||||||
* before the timer interrupt is attached and before any watchdog
|
* before the timer interrupt is attached and before any watchdog
|
||||||
* services are used.
|
* services are used.
|
||||||
*
|
*
|
||||||
************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
void weak_function wd_initialize(void);
|
void weak_function wd_initialize(void);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user