Skip to content

Commit 43b255f

Browse files
committed
more typos
1 parent 6a2cf67 commit 43b255f

File tree

13 files changed

+16
-16
lines changed

13 files changed

+16
-16
lines changed

docs/contributing/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Contributing can be highly rewarding, but it can also be frustrating at times.
66
It takes time to review patches, and as this is an open source project, that
77
sometimes can take a while. The reviewing process depends on the availability
88
of the maintainers, who may not be always available. Please try to be
9-
understanding throught the process.
9+
understanding through the process.
1010

1111
There a few guidelines you need to keep in mind when contributing. Please have
1212
a look at them as that will make the contribution process easier for all

examples/device/hid_generic_inout/hid_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
if dev:
1414
while True:
1515
# Get input from console and encode to UTF8 for array of chars.
16-
# hid generic inout is single report therefore by HIDAPI requirement
17-
# it must be preceeded with 0x00 as dummy reportID
16+
# hid generic in/out is single report therefore by HIDAPI requirement
17+
# it must be preceded, with 0x00 as dummy reportID
1818
str_out = b'\x00'
1919
str_out += input("Send text to HID Device : ").encode('utf-8')
2020
dev.write(str_out)

hw/bsp/gd32vf103/family.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void board_init(void) {
112112
otg_core_regs->GCCFG &= ~GCCFG_VBUSIG;
113113
#endif
114114

115-
/* Enable interrupts globaly */
115+
/* Enable interrupts globally */
116116
__enable_irq();
117117
}
118118

hw/bsp/sltb009a/sltb009a.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ void cmu_init(void)
397397
CMU->HFCLKSEL = CMU_HFCLKSEL_HF_HFXO;
398398
while((CMU->HFCLKSTATUS & _CMU_HFCLKSTATUS_SELECTED_MASK) != CMU_HFCLKSTATUS_SELECTED_HFXO);
399399

400-
// Calibrate HFRCO for 72MHz and enable tunning by PLL
400+
// Calibrate HFRCO for 72MHz and enable tuning by PLL
401401
cmu_hfrco_calib((DEVINFO->HFRCOCAL16) | CMU_HFRCOCTRL_FINETUNINGEN);
402402

403403
// Setup the PLL

hw/bsp/stm32g4/boards/stm32g474nucleo/STM32G474RETx_FLASH.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
**
1717
** Target : STMicroelectronics STM32
1818
**
19-
** Distribution: The file is distributed as is, without any warranty
19+
** Distribution: The file is distributed as is, without any warranty
2020
** of any kind.
2121
**
2222
*****************************************************************************
@@ -151,7 +151,7 @@ SECTIONS
151151
. = ALIGN(4);
152152
.bss :
153153
{
154-
/* This is used by the startup in order to initialize the .bss secion */
154+
/* This is used by the startup in order to initialize the .bss section */
155155
_sbss = .; /* define a global symbol at bss start */
156156
__bss_start__ = _sbss;
157157
*(.bss)

hw/bsp/stm32l4/boards/stm32l412nucleo/STM32L412KBUx_FLASH.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ SECTIONS
145145
. = ALIGN(4);
146146
.bss :
147147
{
148-
/* This is used by the startup in order to initialize the .bss secion */
148+
/* This is used by the startup in order to initialize the .bss section */
149149
_sbss = .; /* define a global symbol at bss start */
150150
__bss_start__ = _sbss;
151151
*(.bss)

hw/bsp/stm32u5/boards/stm32u575eval/board.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static inline void board_clock_init(void)
6969
*/
7070
HAL_PWREx_ControlVoltageScaling(PWR_REGULATOR_VOLTAGE_SCALE1);
7171

72-
/** Initializes the CPU, AHB and APB busses clocks
72+
/** Initializes the CPU, AHB and APB buses clocks
7373
*/
7474
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI48 | RCC_OSCILLATORTYPE_HSI;
7575
RCC_OscInitStruct.HSIState = RCC_HSI_ON;
@@ -92,7 +92,7 @@ static inline void board_clock_init(void)
9292

9393
HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit);
9494

95-
/** Initializes the CPU, AHB and APB busses clocks
95+
/** Initializes the CPU, AHB and APB buses clocks
9696
*/
9797
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_PCLK1 | RCC_CLOCKTYPE_PCLK2 | RCC_CLOCKTYPE_PCLK3;
9898
RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;

src/class/hid/hid_device.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ static inline bool tud_hid_gamepad_report(uint8_t report_id, int8_t x, int8_t y
182182
HID_COLLECTION ( HID_COLLECTION_APPLICATION ) ,\
183183
/* Report ID if any */\
184184
__VA_ARGS__ \
185-
/* 8 bits Modifier Keys (Shfit, Control, Alt) */ \
185+
/* 8 bits Modifier Keys (Shift, Control, Alt) */ \
186186
HID_USAGE_PAGE ( HID_USAGE_PAGE_KEYBOARD ) ,\
187187
HID_USAGE_MIN ( 224 ) ,\
188188
HID_USAGE_MAX ( 231 ) ,\

src/class/usbtmc/usbtmc_device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ bool usbtmcd_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_request
599599

600600
// At this point, a transfer MAY be in progress. Based on USB spec, when clearing bulk EP HALT,
601601
// the EP transfer buffer needs to be cleared and DTOG needs to be reset, even if
602-
// the EP is not halted. The only USBD API interface to do this is to stall and then unstall the EP.
602+
// the EP is not halted. The only USBD API interface to do this is to stall and then un-stall the EP.
603603
if(ep_addr == usbtmc_state.ep_bulk_out)
604604
{
605605
criticalEnter();

src/portable/dialog/da146xx/dcd_da146xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ static struct
243243

244244
// Converts xfer pointer to epnum (0,1,2,3) regardless of xfer direction
245245
#define XFER_EPNUM(xfer) ((xfer - &_dcd.xfer_status[0][0]) >> 1)
246-
// Converts xfer pinter to EPx_REGS pointer (returns same pointer for IN and OUT with same endpoint number)
246+
// Converts xfer pointer to EPx_REGS pointer (returns same pointer for IN and OUT with same endpoint number)
247247
#define XFER_REGS(xfer) ep_regs[XFER_EPNUM(xfer)]
248248
// Converts epnum (0,1,2,3) to EPx_REGS pointer
249249
#define EPNUM_REGS(epnum) ep_regs[epnum]

src/portable/nordic/nrf5x/dcd_nrf5x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ static void xact_out_dma(uint8_t epnum)
170170
uint32_t xact_len;
171171

172172
// DMA can't be active during read of SIZE.EPOUT or SIZE.ISOOUT, so try to lock,
173-
// If already running deffer call regardless if it was called from ISR or task,
173+
// If already running defer call regardless if it was called from ISR or task,
174174
if ( atomic_flag_test_and_set(&_dcd.dma_running) )
175175
{
176176
usbd_defer_func((osal_task_func_t)xact_out_dma_wrapper, (void *)(uint32_t)epnum, is_in_isr());

src/portable/renesas/usba/hcd_usba.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ uint32_t hcd_frame_number(uint8_t rhport)
600600
bool hcd_port_connect_status(uint8_t rhport)
601601
{
602602
(void)rhport;
603-
return USB0.INTSTS1.BIT.ATTCH ? true: false;
603+
return USB0.INTSTS1.BIT.ATTCH ? true : false;
604604
}
605605

606606
void hcd_port_reset(uint8_t rhport)

src/portable/valentyusb/eptri/dcd_eptri.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ void dcd_edpt_clear_stall(uint8_t rhport, uint8_t ep_addr)
465465
enable = 1;
466466
usb_out_ctrl_write((0 << CSR_USB_OUT_CTRL_STALL_OFFSET) | (enable << CSR_USB_OUT_CTRL_ENABLE_OFFSET) | tu_edpt_number(ep_addr));
467467
}
468-
// IN endpoints will get unstalled when more data is written.
468+
// IN endpoints will get un-stalled when more data is written.
469469
}
470470

471471
bool dcd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t* buffer, uint16_t total_bytes)

0 commit comments

Comments
 (0)