Skip to content

Commit 21c9645

Browse files
committed
Fix codespell
1 parent 4fe2f03 commit 21c9645

File tree

21 files changed

+37
-37
lines changed

21 files changed

+37
-37
lines changed

ports/atmel-samd/asf4_conf/samd21/hpl_sercom_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@
431431
// <0x2=>8x arithmetic
432432
// <0x3=>8x fractional
433433
// <0x3=>3x
434-
// <i> How many over-sampling bits used when samling data state
434+
// <i> How many over-sampling bits used when sampling data state
435435
// <id> usart_arch_sampr
436436
#ifndef CONF_SERCOM_2_USART_SAMPR
437437
#define CONF_SERCOM_2_USART_SAMPR 0x0

ports/atmel-samd/asf4_conf/samd51/hpl_sercom_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@
431431
// <0x2=>8x arithmetic
432432
// <0x3=>8x fractional
433433
// <0x3=>3x
434-
// <i> How many over-sampling bits used when samling data state
434+
// <i> How many over-sampling bits used when sampling data state
435435
// <id> usart_arch_sampr
436436
#ifndef CONF_SERCOM_2_USART_SAMPR
437437
#define CONF_SERCOM_2_USART_SAMPR 0x0

ports/atmel-samd/asf4_conf/same51/hpl_sercom_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@
431431
// <0x2=>8x arithmetic
432432
// <0x3=>8x fractional
433433
// <0x3=>3x
434-
// <i> How many over-sampling bits used when samling data state
434+
// <i> How many over-sampling bits used when sampling data state
435435
// <id> usart_arch_sampr
436436
#ifndef CONF_SERCOM_2_USART_SAMPR
437437
#define CONF_SERCOM_2_USART_SAMPR 0x0

ports/atmel-samd/asf4_conf/same54/hpl_sercom_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@
431431
// <0x2=>8x arithmetic
432432
// <0x3=>8x fractional
433433
// <0x3=>3x
434-
// <i> How many over-sampling bits used when samling data state
434+
// <i> How many over-sampling bits used when sampling data state
435435
// <id> usart_arch_sampr
436436
#ifndef CONF_SERCOM_2_USART_SAMPR
437437
#define CONF_SERCOM_2_USART_SAMPR 0x0

ports/atmel-samd/sd_mmc/sd_mmc.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ static struct sd_mmc_card sd_mmc_cards[CONF_SD_MMC_MEM_CNT];
160160

161161
/** HAL driver instance */
162162
static void *sd_mmc_hal;
163-
/** Index of current slot configurated */
163+
/** Index of current slot configured */
164164
static uint8_t sd_mmc_slot_sel;
165-
/** Pointer on current slot configurated */
165+
/** Pointer on current slot configured */
166166
static struct sd_mmc_card *sd_mmc_card;
167167
/** Number of block to read or write on the current transfer */
168168
static uint16_t sd_mmc_nb_block_to_tranfer = 0;
@@ -238,7 +238,7 @@ static bool mmc_mci_op_cond(void) {
238238
uint32_t retry, resp;
239239

240240
/*
241-
* Timeout 1s = 400KHz / ((6+6)*8) cylces = 4200 retry
241+
* Timeout 1s = 400KHz / ((6+6)*8) cycles = 4200 retry
242242
* 6 = cmd byte size
243243
* 6 = response byte size
244244
*/
@@ -277,7 +277,7 @@ static bool sd_mci_op_cond(uint8_t v2) {
277277
uint32_t arg, retry, resp;
278278

279279
/*
280-
* Timeout 1s = 400KHz / ((6+6+6+6)*8) cylces = 2100 retry
280+
* Timeout 1s = 400KHz / ((6+6+6+6)*8) cycles = 2100 retry
281281
* 6 = cmd byte size
282282
* 6 = response byte size
283283
* 6 = cmd byte size
@@ -339,7 +339,7 @@ static bool sdio_op_cond(void) {
339339

340340
/*
341341
* Wait card ready
342-
* Timeout 1s = 400KHz / ((6+4)*8) cylces = 5000 retry
342+
* Timeout 1s = 400KHz / ((6+4)*8) cycles = 5000 retry
343343
* 6 = cmd byte size
344344
* 4(SPI) 6(MCI) = response byte size
345345
*/
@@ -1292,13 +1292,13 @@ static bool sd_mmc_mci_install_mmc(void) {
12921292

12931293
void sd_mmc_init(void *hal, sd_mmc_detect_t *card_detects, sd_mmc_detect_t *wp_detects) {
12941294
/* GPIO will be used to detect card and write protect.
1295-
* The related clocks and pinmux must be configurated in good
1295+
* The related clocks and pinmux must be configured in good
12961296
* condition. */
12971297

12981298
for (uint8_t slot = 0; slot < CONF_SD_MMC_MEM_CNT; slot++) {
12991299
sd_mmc_cards[slot].state = SD_MMC_CARD_STATE_NO_CARD;
13001300
}
1301-
sd_mmc_slot_sel = 0xFF; /* No slot configurated */
1301+
sd_mmc_slot_sel = 0xFF; /* No slot configured */
13021302
sd_mmc_hal = hal;
13031303
_cd = card_detects;
13041304
_wp = wp_detects;

ports/atmel-samd/sd_mmc/sd_mmc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ typedef struct sd_mmc_detect {
113113
uint16_t val; /**< Detection value */
114114
} sd_mmc_detect_t;
115115

116-
/** This SD MMC stack uses the maximum block size autorized (512 bytes) */
116+
/** This SD MMC stack uses the maximum block size authorized (512 bytes) */
117117
#define SD_MMC_BLOCK_SIZE 512
118118

119119
/**

ports/espressif/boards/sunton_esp32_2432S024C/pins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static const mp_rom_map_elem_t board_module_globals_table[] = {
4646
{ MP_ROM_QSTR(MP_QSTR_SD_SCK), MP_ROM_PTR(&pin_GPIO18) },
4747
{ MP_ROM_QSTR(MP_QSTR_SD_CS), MP_ROM_PTR(&pin_GPIO5) },
4848

49-
// ILI9341 dsplay (spi)
49+
// ILI9341 display (spi)
5050
{ MP_ROM_QSTR(MP_QSTR_LCD_MOSI), MP_ROM_PTR(&pin_GPIO13) },
5151
{ MP_ROM_QSTR(MP_QSTR_LCD_MISO), MP_ROM_PTR(&pin_GPIO12) },
5252
{ MP_ROM_QSTR(MP_QSTR_LCD_SCK), MP_ROM_PTR(&pin_GPIO14) },

ports/espressif/boards/sunton_esp32_2432S028/pins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static const mp_rom_map_elem_t board_module_globals_table[] = {
4545
{ MP_ROM_QSTR(MP_QSTR_SD_SCK), MP_ROM_PTR(&pin_GPIO18) },
4646
{ MP_ROM_QSTR(MP_QSTR_SD_CS), MP_ROM_PTR(&pin_GPIO5) },
4747

48-
// ILI9341 dsplay (spi)
48+
// ILI9341 display (spi)
4949
{ MP_ROM_QSTR(MP_QSTR_LCD_MOSI), MP_ROM_PTR(&pin_GPIO13) },
5050
{ MP_ROM_QSTR(MP_QSTR_LCD_MISO), MP_ROM_PTR(&pin_GPIO12) },
5151
{ MP_ROM_QSTR(MP_QSTR_LCD_SCK), MP_ROM_PTR(&pin_GPIO14) },

ports/espressif/common-hal/_bleio/Adapter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ static int _connect_event(struct ble_gap_event *event, void *self_in) {
384384
// connection and need a new tuple.
385385
self->connection_objs = NULL;
386386
} else {
387-
// The loop waiting for the connection to be comnpleted will stop when _connection_status changes.
387+
// The loop waiting for the connection to be completed will stop when _connection_status changes.
388388
_connection_status = -event->connect.status;
389389
}
390390
break;

ports/espressif/common-hal/pulseio/PulseOut.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void common_hal_pulseio_pulseout_send(pulseio_pulseout_obj_t *self, uint16_t *pu
6969
// Circuitpython allows 16 bit pulse values, while ESP32 only allows 15 bits
7070
// Thus, we use entire items for one pulse, rather than switching inside each item
7171
for (size_t i = 0; i < length; i++) {
72-
// Setting the RMT duration to 0 has undefined behavior, so avoid that pre-emptively.
72+
// Setting the RMT duration to 0 has undefined behavior, so avoid that preemptively.
7373
if (pulses[i] == 0) {
7474
continue;
7575
}

0 commit comments

Comments
 (0)