mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
Fix use of undefined pp-token #errror, other typos.
This commit is contained in:
committed by
Gregory Nutt
parent
c6689b3093
commit
e8b5dd4528
@@ -104,7 +104,7 @@ struct icmp_hdr_s
|
||||
/* ICMP header */
|
||||
|
||||
uint8_t type; /* Defines the format of the ICMP message */
|
||||
uint8_t icode; /* Further qualifies the ICMP messsage */
|
||||
uint8_t icode; /* Further qualifies the ICMP message */
|
||||
uint16_t icmpchksum; /* Checksum of ICMP header and data */
|
||||
|
||||
/* All ICMP packets have an 8-byte header and variable-sized data section.
|
||||
|
||||
@@ -94,7 +94,7 @@ struct udp_hdr_s
|
||||
struct udp_stats_s
|
||||
{
|
||||
net_stats_t drop; /* Number of dropped UDP segments */
|
||||
net_stats_t recv; /* Number of recived UDP segments */
|
||||
net_stats_t recv; /* Number of received UDP segments */
|
||||
net_stats_t sent; /* Number of sent UDP segments */
|
||||
net_stats_t chkerr; /* Number of UDP segments with a bad checksum */
|
||||
};
|
||||
|
||||
@@ -275,7 +275,7 @@ struct nxsvrmsg_closewindow_s
|
||||
FAR struct nxbe_window_s *wnd; /* The window to be closed */
|
||||
};
|
||||
|
||||
/* This messsage is just a marker that is queued and forwarded by the server
|
||||
/* This message is just a marker that is queued and forwarded by the server
|
||||
* (NX_CLIMSG_BLOCKED). Messages to the window were blocked just after this
|
||||
* message was sent. Receipt of this message indicates both that the window
|
||||
* blocked and that there are no further queued messages for the window.
|
||||
|
||||
@@ -493,9 +493,9 @@
|
||||
#define SCSIRESP_SENSEDATA_NOSENSE 0x00 /* Nothing to be reported */
|
||||
#define SCSIRESP_SENSEDATA_RECOVEREDERROR 0x01 /* Successful after recovery action */
|
||||
#define SCSIRESP_SENSEDATA_NOTREADY 0x02 /* Logical unit is not accessible */
|
||||
#define SCSIRESP_SENSEDATA_MEDIUMERROR 0x03 /* Error posssibly caused by flaw in medium */
|
||||
#define SCSIRESP_SENSEDATA_MEDIUMERROR 0x03 /* Error possibly caused by flaw in medium */
|
||||
#define SCSIRESP_SENSEDATA_HARDWAREERROR 0x04 /* Non-recoverable hardware error */
|
||||
#define SCSIRESP_SENSEDATA_ILLEGALREQUEST 0x05 /* Error in recived request */
|
||||
#define SCSIRESP_SENSEDATA_ILLEGALREQUEST 0x05 /* Error in received request */
|
||||
#define SCSIRESP_SENSEDATA_UNITATTENTION 0x06 /* Unit attention condition */
|
||||
#define SCSIRESP_SENSEDATA_DATAPROTECT 0x07 /* Action failed, medium protected */
|
||||
#define SCSIRESP_SENSEDATA_BLANKCHECK 0x08 /* Encountered blank media */
|
||||
|
||||
@@ -193,7 +193,7 @@
|
||||
#define LIS3DSH_CTRL_REG_6_ADD_INC_bm (1<<4) /* Register address automatically incremented during a multiple byte access with a serial interface */
|
||||
#define LIS3DSH_CTRL_REG_6_P1_EMPTY_bm (1<<3) /* Enable FIFO empty indication on Int1 */
|
||||
#define LIS3DSH_CTRL_REG_6_P1_WTM_bm (1<<2) /* FIFO watermark interrupt Int1 */
|
||||
#define LIS3DSH_CTRL_REG_6_P1_OVERRUN_bm (1<<1) /* FIFO overrrun interrupt on Int1 */
|
||||
#define LIS3DSH_CTRL_REG_6_P1_OVERRUN_bm (1<<1) /* FIFO overrun interrupt on Int1 */
|
||||
#define LIS3DSH_CTRL_REG_6_P2_BOOT_bm (1<<0) /* BOOT interrupt on Int2 */
|
||||
|
||||
/* SPI BUS PARAMETERS *******************************************************/
|
||||
|
||||
@@ -763,7 +763,7 @@ struct adc_outterm_desc_s
|
||||
uint8_t ot_termid; /* 3: Identifies terminal in audio function */
|
||||
uint8_t ot_termtype[2]; /* 4: Terminal type */
|
||||
uint8_t ot_interm; /* 6: ID of the associated input terminal */
|
||||
uint8_t ot_srcid; /* 7: ID of unit/terminal to which terminal is connnected */
|
||||
uint8_t ot_srcid; /* 7: ID of unit/terminal to which terminal is connected */
|
||||
uint8_t ot_csrcid; /* 8: ID of clock entity to whcih terminal is connected */
|
||||
uint8_t ot_controls[2]; /* 9: Bits 0-1: Copy protect control,
|
||||
* Bits 2-3: Connector control
|
||||
|
||||
@@ -348,7 +348,7 @@
|
||||
|
||||
/* Host Controller Communications Area Format (4.4.1) ***********************/
|
||||
|
||||
/* HccaInterrruptTable: 32x32-bit pointers to interrupt EDs */
|
||||
/* HccaInterruptTable: 32x32-bit pointers to interrupt EDs */
|
||||
|
||||
#define HCCA_INTTBL_OFFSET (0x00)
|
||||
#define HCCA_INTTBL_WSIZE (32)
|
||||
@@ -422,7 +422,7 @@ struct ohci_itd_s
|
||||
|
||||
struct ohci_hcca_s
|
||||
{
|
||||
/* HccaInterrruptTable: 32x32-bit pointers to interrupt EDs */
|
||||
/* HccaInterruptTable: 32x32-bit pointers to interrupt EDs */
|
||||
|
||||
volatile uint32_t inttbl[HCCA_INTTBL_WSIZE];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user