diff --git a/EBB_firmware/Microchip/Include/USB/usb_common.h b/EBB_firmware/Microchip/Include/USB/usb_common.h index 106e8f7..91558a0 100644 --- a/EBB_firmware/Microchip/Include/USB/usb_common.h +++ b/EBB_firmware/Microchip/Include/USB/usb_common.h @@ -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 diff --git a/EBB_firmware/Microchip/Include/USB/usb_device.h b/EBB_firmware/Microchip/Include/USB/usb_device.h index 547339f..40855f1 100644 --- a/EBB_firmware/Microchip/Include/USB/usb_device.h +++ b/EBB_firmware/Microchip/Include/USB/usb_device.h @@ -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 diff --git a/EBB_firmware/Microchip/Include/USB/usb_function_ccid.h b/EBB_firmware/Microchip/Include/USB/usb_function_ccid.h index 502bb32..5bc9d5b 100644 --- a/EBB_firmware/Microchip/Include/USB/usb_function_ccid.h +++ b/EBB_firmware/Microchip/Include/USB/usb_function_ccid.h @@ -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 diff --git a/EBB_firmware/Microchip/Include/USB/usb_function_cdc.h b/EBB_firmware/Microchip/Include/USB/usb_function_cdc.h index 13b7bb9..a839adb 100644 --- a/EBB_firmware/Microchip/Include/USB/usb_function_cdc.h +++ b/EBB_firmware/Microchip/Include/USB/usb_function_cdc.h @@ -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 diff --git a/EBB_firmware/Microchip/Include/USB/usb_hal.h b/EBB_firmware/Microchip/Include/USB/usb_hal.h index 0defc19..2b9840e 100644 --- a/EBB_firmware/Microchip/Include/USB/usb_hal.h +++ b/EBB_firmware/Microchip/Include/USB/usb_hal.h @@ -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: diff --git a/EBB_firmware/Microchip/USB/usb_hal_local.h b/EBB_firmware/Microchip/USB/usb_hal_local.h index 42f1e2e..83492f0 100644 --- a/EBB_firmware/Microchip/USB/usb_hal_local.h +++ b/EBB_firmware/Microchip/USB/usb_hal_local.h @@ -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). diff --git a/EBB_firmware/app-SimpleServo.X/source/UBW.c b/EBB_firmware/app-SimpleServo.X/source/UBW.c index e500a33..9be1370 100644 --- a/EBB_firmware/app-SimpleServo.X/source/UBW.c +++ b/EBB_firmware/app-SimpleServo.X/source/UBW.c @@ -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,," -// +// "CU,," +// // 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 Start pulses, or load latest set of paramters and use them +// PG,1 Start pulses, or load latest set of parameters and use them // PG,0 Stop pulses void parse_PG_packet (void) { diff --git a/EBB_firmware/app-SimpleServo.X/source/ebb.c b/EBB_firmware/app-SimpleServo.X/source/ebb.c index c43484d..1462fa2 100644 --- a/EBB_firmware/app-SimpleServo.X/source/ebb.c +++ b/EBB_firmware/app-SimpleServo.X/source/ebb.c @@ -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 diff --git a/EBB_firmware/app.X/source/UBW.c b/EBB_firmware/app.X/source/UBW.c index 1d69b2d..ee24eda 100644 --- a/EBB_firmware/app.X/source/UBW.c +++ b/EBB_firmware/app.X/source/UBW.c @@ -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,," -// +// "CU,," +// // 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 Start pulses, or load latest set of paramters and use them +// PG,1 Start pulses, or load latest set of parameters and use them // PG,0 Stop pulses void parse_PG_packet (void) {