kopia lustrzana https://github.com/evil-mad/EggBot
Fix for issue #163: Spelling of the word parameter fixed across all sources
rodzic
c835a66dfb
commit
bf9755acb1
|
@ -468,7 +468,7 @@ stalled (ie. bit 0 = EP0, bit 1 = EP1, etc.)
|
|||
USBInitialize must have been called to initialize the USB SW
|
||||
Stack.
|
||||
|
||||
Paramters:
|
||||
Parameters:
|
||||
USB_EVENT event - Identifies the bus event that occured
|
||||
void *data - Pointer to event-specific data
|
||||
unsigned int size - Size of the event-specific data
|
||||
|
|
|
@ -1601,7 +1601,7 @@ USB_HANDLE USBGetNextHandle(BYTE ep_num, BYTE ep_dir);
|
|||
PreCondition:
|
||||
None
|
||||
|
||||
Paramters:
|
||||
Parameters:
|
||||
options - the various options that you want
|
||||
when sending the control data. Options are:
|
||||
USB_EP0_ROM
|
||||
|
|
|
@ -182,7 +182,7 @@ extern unsigned char usbCcidBulkInEndpoint[USB_EP_SIZE]; //User application buff
|
|||
PreCondition:
|
||||
usbCcidBulkInTrfState must be in the USB_CCID_BULK_IN_READY state.
|
||||
|
||||
Paramters:
|
||||
Parameters:
|
||||
pDdata : Pointer to the starting location of data bytes
|
||||
len : Number of bytes to be transferred
|
||||
|
||||
|
|
|
@ -511,7 +511,7 @@
|
|||
The USB stack should have reached the CONFIGURED_STATE prior
|
||||
to calling this API function for the first time.
|
||||
|
||||
Paramters:
|
||||
Parameters:
|
||||
pDdata : Pointer to the starting location of data bytes
|
||||
len : Number of bytes to be transferred
|
||||
|
||||
|
|
|
@ -630,7 +630,7 @@ BOOL USBHALSetEpConfiguration ( BYTE ep_num, UINT16 max_pkt_size, UINT16 flags )
|
|||
Precondition:
|
||||
The system has been initialized.
|
||||
|
||||
Paramters:
|
||||
Parameters:
|
||||
flags - Initialization flags
|
||||
|
||||
Return Values:
|
||||
|
|
|
@ -560,7 +560,7 @@ typedef union
|
|||
PreCondition:
|
||||
None
|
||||
|
||||
Paramters:
|
||||
Parameters:
|
||||
errors - Bitmap of the error status bits (caller sets the bets
|
||||
it wishes to clear).
|
||||
|
||||
|
|
|
@ -1057,11 +1057,11 @@ void ProcessIO(void)
|
|||
}
|
||||
if (bittst (error_byte, kERROR_BYTE_PARAMETER_OUTSIDE_LIMIT))
|
||||
{
|
||||
printf ((far rom char *)"!6 Err: Invalid paramter value\r\n");
|
||||
printf ((far rom char *)"!6 Err: Invalid parameter value\r\n");
|
||||
}
|
||||
if (bittst (error_byte, kERROR_BYTE_EXTRA_CHARACTERS))
|
||||
{
|
||||
printf ((far rom char *)"!7 Err: Extra parmater\r\n");
|
||||
printf ((far rom char *)"!7 Err: Extra parameter\r\n");
|
||||
}
|
||||
error_byte = 0;
|
||||
}
|
||||
|
@ -1536,8 +1536,8 @@ void parse_R_packet(void)
|
|||
}
|
||||
|
||||
// CU is "Configure UBW" and controls system-wide configruation values
|
||||
// "CU,<parameter_number>,<paramter_value><CR>"
|
||||
// <paramter_number> <parameter_value>
|
||||
// "CU,<parameter_number>,<parameter_value><CR>"
|
||||
// <parameter_number> <parameter_value>
|
||||
// 1 {1|0} turns on or off the 'ack' ("OK" at end of packets)
|
||||
void parse_CU_packet(void)
|
||||
{
|
||||
|
@ -2851,7 +2851,7 @@ void parse_PC_packet (void)
|
|||
// interval.
|
||||
//
|
||||
// Usage:
|
||||
// PG,1<CR> Start pulses, or load latest set of paramters and use them
|
||||
// PG,1<CR> Start pulses, or load latest set of parameters and use them
|
||||
// PG,0<CR> Stop pulses
|
||||
void parse_PG_packet (void)
|
||||
{
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
// 2.1.1 11/21/10- Removed Microchip USB stack v2.7, replaced it with v2.8 from MAL 2010_10_19,
|
||||
// Also using generic Microchip folder now rather than re-named one (simpler to update)
|
||||
// Updated code in main.c (and others) to match updates from latest MAL CDC example
|
||||
// 2.1.1cTest1 01/17/11 - Added third paramter to SP command to use any PortB pin for servo output
|
||||
// 2.1.1cTest1 01/17/11 - Added third parameter to SP command to use any PortB pin for servo output
|
||||
// For this version only - used PortB2 as standard servo output
|
||||
// 2.1.1d 02/11/11 - Reverted back to RB1 for servo output
|
||||
// - Updated check_and_send_TX_data() to allow unlimited data to go out without overrunning
|
||||
|
|
|
@ -1036,11 +1036,11 @@ void ProcessIO(void)
|
|||
}
|
||||
if (bittst (error_byte, kERROR_BYTE_PARAMETER_OUTSIDE_LIMIT))
|
||||
{
|
||||
printf ((far rom char *)"!6 Err: Invalid paramter value\r\n");
|
||||
printf ((far rom char *)"!6 Err: Invalid parameter value\r\n");
|
||||
}
|
||||
if (bittst (error_byte, kERROR_BYTE_EXTRA_CHARACTERS))
|
||||
{
|
||||
printf ((far rom char *)"!7 Err: Extra parmater\r\n");
|
||||
printf ((far rom char *)"!7 Err: Extra parameter\r\n");
|
||||
}
|
||||
error_byte = 0;
|
||||
}
|
||||
|
@ -1599,8 +1599,8 @@ void parse_R_packet(void)
|
|||
}
|
||||
|
||||
// CU is "Configure UBW" and controls system-wide configuration values
|
||||
// "CU,<parameter_number>,<paramter_value><CR>"
|
||||
// <paramter_number> <parameter_value>
|
||||
// "CU,<parameter_number>,<parameter_value><CR>"
|
||||
// <parameter_number> <parameter_value>
|
||||
// 1 {1|0} turns on or off the 'ack' ("OK" at end of packets)
|
||||
void parse_CU_packet(void)
|
||||
{
|
||||
|
@ -2913,7 +2913,7 @@ void parse_PC_packet (void)
|
|||
// interval.
|
||||
//
|
||||
// Usage:
|
||||
// PG,1<CR> Start pulses, or load latest set of paramters and use them
|
||||
// PG,1<CR> Start pulses, or load latest set of parameters and use them
|
||||
// PG,0<CR> Stop pulses
|
||||
void parse_PG_packet (void)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue