mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 00:38:14 +00:00
trivial: Spelling fixes from codespell
This commit is contained in:
parent
5164e713f6
commit
e5a4d52ea1
@ -211,7 +211,7 @@ typedef struct __attribute__((packed)) {
|
||||
/* component ID of the device */
|
||||
guint8 component_id;
|
||||
/* image mode of the device - single image/ dual symmetric/ dual
|
||||
* assymetric image > */
|
||||
* asymmetric image > */
|
||||
guint8 image_mode;
|
||||
/* current running image */
|
||||
guint8 current_image;
|
||||
|
@ -228,7 +228,7 @@ fu_ccgx_dmc_firmware_parse_image (FuFirmware *firmware,
|
||||
&seg_info_offset, error))
|
||||
return FALSE;
|
||||
|
||||
/* add image record to image record arrary */
|
||||
/* add image record to image record array */
|
||||
g_ptr_array_add (self->image_records, g_steal_pointer (&img_rcd));
|
||||
|
||||
/* increment image offset */
|
||||
|
@ -24,7 +24,7 @@ struct _FuCcgxFirmware {
|
||||
|
||||
G_DEFINE_TYPE (FuCcgxFirmware, fu_ccgx_firmware, FU_TYPE_FIRMWARE)
|
||||
|
||||
/* offset stored appication version for CCGx */
|
||||
/* offset stored application version for CCGx */
|
||||
#define CCGX_APP_VERSION_OFFSET 228 /* 128+64+32+4 */
|
||||
|
||||
GPtrArray *
|
||||
|
@ -40,19 +40,19 @@ typedef enum {
|
||||
CY_GET_SIGNATURE_CMD = 0xBD, /* get the signature of the firmware
|
||||
* It is suppose to be 'CYUS' for normal firmware
|
||||
* and 'CYBL' for Bootloader */
|
||||
CY_UART_GET_CONFIG_CMD = 0xC0, /* retreive the 16 byte UART configuration information
|
||||
CY_UART_GET_CONFIG_CMD = 0xC0, /* retrieve the 16 byte UART configuration information
|
||||
* MS bit of value indicates the SCB index
|
||||
* length = 16, data_in = 16 byte configuration */
|
||||
CY_UART_SET_CONFIG_CMD, /* update the 16 byte UART configuration information
|
||||
* MS bit of value indicates the SCB index.
|
||||
* length = 16, data_out = 16 byte configuration information */
|
||||
CY_SPI_GET_CONFIG_CMD, /* retreive the 16 byte SPI configuration information
|
||||
CY_SPI_GET_CONFIG_CMD, /* retrieve the 16 byte SPI configuration information
|
||||
* MS bit of value indicates the SCB index
|
||||
* length = 16, data_in = 16 byte configuration */
|
||||
CY_SPI_SET_CONFIG_CMD, /* update the 16 byte SPI configuration information
|
||||
* MS bit of value indicates the SCB index
|
||||
* length = 16, data_out = 16 byte configuration information */
|
||||
CY_I2C_GET_CONFIG_CMD, /* retreive the 16 byte I2C configuration information
|
||||
CY_I2C_GET_CONFIG_CMD, /* retrieve the 16 byte I2C configuration information
|
||||
* MS bit of value indicates the SCB index
|
||||
* length = 16, data_in = 16 byte configuration */
|
||||
CY_I2C_SET_CONFIG_CMD = 0xC5, /* update the 16 byte I2C configuration information
|
||||
@ -66,7 +66,7 @@ typedef enum {
|
||||
* value = bit0 - start, bit1 - stop, bit2 - Nak last byte,
|
||||
* bit3 - start on idle, bits[14:8] - slave address, bit15 - scbIndex,
|
||||
* length = 0. The data is provided over the bulk endpoints */
|
||||
CY_I2C_GET_STATUS_CMD, /* retreive the I2C bus status.
|
||||
CY_I2C_GET_STATUS_CMD, /* retrieve the I2C bus status.
|
||||
* value = bit0 - 0: TX 1: RX, bit15 - scbIndex, length = 3,
|
||||
* data_in = byte0: bit0 - flag, bit1 - bus_state, bit2 - SDA state,
|
||||
* bit3 - TX underflow, bit4 - arbitration error, bit5 - NAK
|
||||
|
@ -874,7 +874,7 @@ dfu_device_refresh (DfuDevice *device, GError **error)
|
||||
/* Device that cannot communicate via the USB after the
|
||||
* Manifestation phase indicated this limitation to the
|
||||
* host by clearing bmAttributes bit bitManifestationTolerant.
|
||||
* so we assume the operation was succesful */
|
||||
* so we assume the operation was successful */
|
||||
if (priv->state == DFU_STATE_DFU_MANIFEST &&
|
||||
!(priv->attributes & DFU_DEVICE_ATTRIBUTE_MANIFEST_TOL))
|
||||
return TRUE;
|
||||
|
@ -158,7 +158,7 @@ fu_plugin_update_prepare (FuPlugin *plugin,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* deteremine if battery high enough */
|
||||
/* determine if battery high enough */
|
||||
if (!fu_plugin_upower_check_percentage_level (plugin) &&
|
||||
(flags & FWUPD_INSTALL_FLAG_FORCE) == 0) {
|
||||
FuPluginData *data = fu_plugin_get_data (plugin);
|
||||
|
Loading…
Reference in New Issue
Block a user