Oops - fix mixed "initialize" and "initialise" - opt for American spelling due to its wide use in technical standards.

pull/1469/head
Dean Camera 15 years ago
parent 0f45b9c8e0
commit 612df774d9

@ -635,7 +635,7 @@ static void ProcessWriteCommand(void)
WaitForExit = true; WaitForExit = true;
/* Check if empty request data array - an empty request after a filled request retains the /* Check if empty request data array - an empty request after a filled request retains the
previous valid request data, but initialises the reset */ previous valid request data, but initializes the reset */
if (!(SentCommand.DataSize)) if (!(SentCommand.DataSize))
{ {
if (SentCommand.Data[1] == 0x00) // Start via watchdog if (SentCommand.Data[1] == 0x00) // Start via watchdog

@ -61,7 +61,7 @@
/** Enum for the possible NDIS adapter states. */ /** Enum for the possible NDIS adapter states. */
enum RNDIS_States_t enum RNDIS_States_t
{ {
RNDIS_Uninitialized = 0, /**< Adapter currently uninitialised */ RNDIS_Uninitialized = 0, /**< Adapter currently uninitialized */
RNDIS_Initialized = 1, /**< Adapter currently initialized but not ready for data transfers */ RNDIS_Initialized = 1, /**< Adapter currently initialized but not ready for data transfers */
RNDIS_Data_Initialized = 2, /**< Adapter currently initialized and ready for data transfers */ RNDIS_Data_Initialized = 2, /**< Adapter currently initialized and ready for data transfers */
}; };

@ -56,7 +56,7 @@ void Bluetooth_StackInitialized(void)
Bluetooth_State.LocalBDADDR[5], Bluetooth_State.LocalBDADDR[4], Bluetooth_State.LocalBDADDR[3], Bluetooth_State.LocalBDADDR[5], Bluetooth_State.LocalBDADDR[4], Bluetooth_State.LocalBDADDR[3],
Bluetooth_State.LocalBDADDR[2], Bluetooth_State.LocalBDADDR[1], Bluetooth_State.LocalBDADDR[0]); Bluetooth_State.LocalBDADDR[2], Bluetooth_State.LocalBDADDR[1], Bluetooth_State.LocalBDADDR[0]);
/* Reinitialise the services placed on top of the Bluetooth stack ready for new connections */ /* Reinitialize the services placed on top of the Bluetooth stack ready for new connections */
RFCOMM_Initialize(); RFCOMM_Initialize();
} }

@ -127,7 +127,7 @@
/** Swaps the byte ordering of a 16-bit value at compile time. Do not use this macro for swapping byte orderings /** Swaps the byte ordering of a 16-bit value at compile time. Do not use this macro for swapping byte orderings
* of dynamic values computed at runtime, use \ref SwapEndian_16() instead. The result of this macro can be used * of dynamic values computed at runtime, use \ref SwapEndian_16() instead. The result of this macro can be used
* inside struct or other variable initialisers outside of a function, something that is not possible with the * inside struct or other variable initializers outside of a function, something that is not possible with the
* inline function variant. * inline function variant.
* *
* \param[in] x 16-bit value whose byte ordering is to be swapped. * \param[in] x 16-bit value whose byte ordering is to be swapped.
@ -138,7 +138,7 @@
/** Swaps the byte ordering of a 32-bit value at compile time. Do not use this macro for swapping byte orderings /** Swaps the byte ordering of a 32-bit value at compile time. Do not use this macro for swapping byte orderings
* of dynamic values computed at runtime- use \ref SwapEndian_32() instead. The result of this macro can be used * of dynamic values computed at runtime- use \ref SwapEndian_32() instead. The result of this macro can be used
* inside struct or other variable initialisers outside of a function, something that is not possible with the * inside struct or other variable initializers outside of a function, something that is not possible with the
* inline function variant. * inline function variant.
* *
* \param[in] x 32-bit value whose byte ordering is to be swapped. * \param[in] x 32-bit value whose byte ordering is to be swapped.

@ -90,7 +90,7 @@
void Serial_TxString(const char* StringPtr) ATTR_NON_NULL_PTR_ARG(1); void Serial_TxString(const char* StringPtr) ATTR_NON_NULL_PTR_ARG(1);
/* Inline Functions: */ /* Inline Functions: */
/** Initialises the USART, ready for serial data transmission and reception. This initialises the interface to /** Initializes the USART, ready for serial data transmission and reception. This initializes the interface to
* standard 8-bit, no parity, 1 stop bit settings suitable for most applications. * standard 8-bit, no parity, 1 stop bit settings suitable for most applications.
* *
* \param[in] BaudRate Serial baud rate, in bits per second. * \param[in] BaudRate Serial baud rate, in bits per second.

@ -96,7 +96,7 @@
/** Enum for the possible NDIS adapter states. */ /** Enum for the possible NDIS adapter states. */
enum RNDIS_States_t enum RNDIS_States_t
{ {
RNDIS_Uninitialized = 0, /**< Adapter currently uninitialised. */ RNDIS_Uninitialized = 0, /**< Adapter currently uninitialized. */
RNDIS_Initialized = 1, /**< Adapter currently initialized but not ready for data transfers. */ RNDIS_Initialized = 1, /**< Adapter currently initialized but not ready for data transfers. */
RNDIS_Data_Initialized = 2, /**< Adapter currently initialized and ready for data transfers. */ RNDIS_Data_Initialized = 2, /**< Adapter currently initialized and ready for data transfers. */
}; };

@ -254,7 +254,7 @@
* devices from timing out the data pipes * devices from timing out the data pipes
* - Fixed the definition of the Endpoint_BytesInEndpoint() macro for the U4 series AVR parts * - Fixed the definition of the Endpoint_BytesInEndpoint() macro for the U4 series AVR parts
* - Fixed MIDI host Class driver MIDI_Host_SendEventPacket() routine not properly checking for Pipe ready before writing * - Fixed MIDI host Class driver MIDI_Host_SendEventPacket() routine not properly checking for Pipe ready before writing
* - Fixed use of deprecated struct initialisers, removed library unused parameter warnings when compiled with -Wextra enabled * - Fixed use of deprecated struct initializers, removed library unused parameter warnings when compiled with -Wextra enabled
* - Fixed Still Image Host Class driver truncating the PIMA response code (thanks to Daniel Seibert) * - Fixed Still Image Host Class driver truncating the PIMA response code (thanks to Daniel Seibert)
* - Fixed USB_CurrentMode not being reset to USB_MODE_NONE when the USB interface is shut down and both Host and Device modes can be * - Fixed USB_CurrentMode not being reset to USB_MODE_NONE when the USB interface is shut down and both Host and Device modes can be
* used (thanks to Daniel Levy) * used (thanks to Daniel Levy)
@ -540,7 +540,7 @@
* USB_INITERROR_NoUSBModeSpecified * USB_INITERROR_NoUSBModeSpecified
* - Renamed USB_PowerOnFail event to USB_InitFailure * - Renamed USB_PowerOnFail event to USB_InitFailure
* - Renamed OTG.h header functions to be more consistent with the rest of the library API * - Renamed OTG.h header functions to be more consistent with the rest of the library API
* - Changed over all deprecated GCC structure tag initialisers to the standardized C99 format (thanks to Mike Alexander) * - Changed over all deprecated GCC structure tag initializers to the standardized C99 format (thanks to Mike Alexander)
* - USB_HostRequest renamed to USB_ControlRequest, entire control request header is now read into USB_ControlRequest in Device mode * - USB_HostRequest renamed to USB_ControlRequest, entire control request header is now read into USB_ControlRequest in Device mode
* rather than having the library pass only partially read header data to the application * rather than having the library pass only partially read header data to the application
* - The USB_UnhandledControlPacket event has had its parameters removed, in favor of accessing the new USB_ControlRequest structure * - The USB_UnhandledControlPacket event has had its parameters removed, in favor of accessing the new USB_ControlRequest structure

@ -122,7 +122,7 @@
* - The ADC_Off() function has been renamed to \ref ADC_ShutDown() to be consistent with the rest of the library. * - The ADC_Off() function has been renamed to \ref ADC_ShutDown() to be consistent with the rest of the library.
* - The \ref SPI_Init() routine's parameters have changed, so that the clock polarity and data sampling modes can be set. See * - The \ref SPI_Init() routine's parameters have changed, so that the clock polarity and data sampling modes can be set. See
* the \ref SPI_Init() function documentation for more details * the \ref SPI_Init() function documentation for more details
* - The \ref Dataflash_Init() routine no longer initialises the SPI bus - the SPI bus should be initialized manually via a * - The \ref Dataflash_Init() routine no longer initializes the SPI bus - the SPI bus should be initialized manually via a
* call to SPI_Init() before using the Dataflash driver * call to SPI_Init() before using the Dataflash driver
* *
* <b>Host Mode</b> * <b>Host Mode</b>

@ -1723,7 +1723,7 @@ FRESULT chk_mounted ( /* FR_OK(0): successful, !=0: any error occurred */
if (fmt == 3) return FR_DISK_ERR; if (fmt == 3) return FR_DISK_ERR;
if (fmt) return FR_NO_FILESYSTEM; /* No FAT volume is found */ if (fmt) return FR_NO_FILESYSTEM; /* No FAT volume is found */
/* Following code initialises the file system object */ /* Following code initializes the file system object */
if (LD_WORD(fs->win+BPB_BytsPerSec) != SS(fs)) /* (BPB_BytsPerSec must be equal to the physical sector size) */ if (LD_WORD(fs->win+BPB_BytsPerSec) != SS(fs)) /* (BPB_BytsPerSec must be equal to the physical sector size) */
return FR_NO_FILESYSTEM; return FR_NO_FILESYSTEM;

@ -1723,7 +1723,7 @@ FRESULT chk_mounted ( /* FR_OK(0): successful, !=0: any error occurred */
if (fmt == 3) return FR_DISK_ERR; if (fmt == 3) return FR_DISK_ERR;
if (fmt) return FR_NO_FILESYSTEM; /* No FAT volume is found */ if (fmt) return FR_NO_FILESYSTEM; /* No FAT volume is found */
/* Following code initialises the file system object */ /* Following code initializes the file system object */
if (LD_WORD(fs->win+BPB_BytsPerSec) != SS(fs)) /* (BPB_BytsPerSec must be equal to the physical sector size) */ if (LD_WORD(fs->win+BPB_BytsPerSec) != SS(fs)) /* (BPB_BytsPerSec must be equal to the physical sector size) */
return FR_NO_FILESYSTEM; return FR_NO_FILESYSTEM;

@ -232,7 +232,7 @@ typedef struct uip_eth_addr uip_lladdr_t;
/** /**
* uIP initialization function. * uIP initialization function.
* *
* This function should be called at boot up to initialise the uIP * This function should be called at boot up to initialize the uIP
* TCP/IP stack. * TCP/IP stack.
*/ */
void uip_init(void); void uip_init(void);

Loading…
Cancel
Save