aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/hal/include/usb.h2
-rw-r--r--os/hal/platforms/AT91SAM7/adc_lld.c2
-rw-r--r--os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c2
-rw-r--r--os/kernel/src/chthreads.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/include/usb.h b/os/hal/include/usb.h
index c7b4bae45..8d3bcde6b 100644
--- a/os/hal/include/usb.h
+++ b/os/hal/include/usb.h
@@ -249,7 +249,7 @@ typedef enum {
*/
typedef enum {
USB_EP0_WAITING_SETUP, /**< Waiting for SETUP data. */
- USB_EP0_TX, /**< Trasmitting. */
+ USB_EP0_TX, /**< Transmitting. */
USB_EP0_WAITING_STS, /**< Waiting status. */
USB_EP0_RX, /**< Receiving. */
USB_EP0_SENDING_STS, /**< Sending status. */
diff --git a/os/hal/platforms/AT91SAM7/adc_lld.c b/os/hal/platforms/AT91SAM7/adc_lld.c
index a975fcdc2..066e3c542 100644
--- a/os/hal/platforms/AT91SAM7/adc_lld.c
+++ b/os/hal/platforms/AT91SAM7/adc_lld.c
@@ -227,7 +227,7 @@ void adc_lld_start(ADCDriver *adcp) {
if (adcp->state == ADC_STOP) {
/* Take it out of sleep mode */
- /* We could stay in sleep mode provided total conversion rate < 44khz but we can't guarantee that here */
+ /* We could stay in sleep mode provided total conversion rate < 44kHz but we can't guarantee that here */
adc_wake();
/* TODO: We really should perform a conversion here just to ensure that we are out of sleep mode */
diff --git a/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c b/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c
index 672c356cc..6eac93577 100644
--- a/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c
+++ b/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c
@@ -174,7 +174,7 @@ static const edma_channel_config_t spi_dspi3_rx_dma_config = {
/*===========================================================================*/
/**
- * @brief Starts eception using DMA for frames up to 8 bits.
+ * @brief Starts reception using DMA for frames up to 8 bits.
*
* @param[in] spip pointer to the @p SPIDriver object
* @param[in] n number of words to be exchanged
diff --git a/os/kernel/src/chthreads.c b/os/kernel/src/chthreads.c
index 8a9fe11b6..9f6973c90 100644
--- a/os/kernel/src/chthreads.c
+++ b/os/kernel/src/chthreads.c
@@ -149,7 +149,7 @@ void _thread_memfill(uint8_t *startp, uint8_t *endp, uint8_t v) {
*/
Thread *chThdCreateI(void *wsp, size_t size,
tprio_t prio, tfunc_t pf, void *arg) {
- /* Thread structure is layed out in the lower part of the thread workspace.*/
+ /* Thread structure is laid out in the lower part of the thread workspace.*/
Thread *tp = wsp;
chDbgCheckClassI();