From c4a01fccefa5105067b4f8c05709c4ccf4734310 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 26 Apr 2013 12:42:56 +0000 Subject: [PATCH] Fixed bug #404. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5629 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- boards/NONSTANDARD_STM32F4_BARTHESS1/board.c | 4 ++-- demos/AVR-ArduinoMega-GCC/chconf.h | 2 +- demos/AVR-ArduinoMega-GCC/halconf.h | 2 +- os/hal/include/usb.h | 2 +- os/hal/platforms/AT91SAM7/adc_lld.c | 2 +- os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.c | 2 +- os/kernel/src/chthreads.c | 2 +- readme.txt | 1 + testhal/STM32F4xx/RTC_FATTIME/chconf.h | 2 +- testhal/STM32F4xx/RTC_FATTIME/halconf.h | 2 +- testhal/STM32F4xx/SDC/chconf.h | 2 +- testhal/STM32F4xx/SDC/halconf.h | 2 +- 12 files changed, 13 insertions(+), 12 deletions(-) diff --git a/boards/NONSTANDARD_STM32F4_BARTHESS1/board.c b/boards/NONSTANDARD_STM32F4_BARTHESS1/board.c index d38abae8f..a41442f13 100644 --- a/boards/NONSTANDARD_STM32F4_BARTHESS1/board.c +++ b/boards/NONSTANDARD_STM32F4_BARTHESS1/board.c @@ -54,7 +54,7 @@ void boardInit(void) { } /** - * @brief Inserion monitor function. + * @brief Insertion monitor function. * * @param[in] sdcp pointer to the @p SDCDriver object * @@ -68,7 +68,7 @@ bool_t sdc_lld_is_card_inserted(SDCDriver *sdcp) { /** * @brief Protection detection. - * @note Not supported, allways not protected. + * @note Not supported, always not protected. * * @param[in] sdcp pointer to the @p SDCDriver object * diff --git a/demos/AVR-ArduinoMega-GCC/chconf.h b/demos/AVR-ArduinoMega-GCC/chconf.h index fd27112a3..b5b5383fd 100644 --- a/demos/AVR-ArduinoMega-GCC/chconf.h +++ b/demos/AVR-ArduinoMega-GCC/chconf.h @@ -455,7 +455,7 @@ * @brief Threads initialization hook. * @details User initialization code added to the @p chThdInit() API. * - * @note It is invoked from within @p chThdInit() and implicitily from all + * @note It is invoked from within @p chThdInit() and implicitly from all * the threads creation APIs. */ #if !defined(THREAD_EXT_INIT_HOOK) || defined(__DOXYGEN__) diff --git a/demos/AVR-ArduinoMega-GCC/halconf.h b/demos/AVR-ArduinoMega-GCC/halconf.h index d61572cb8..3858828e6 100644 --- a/demos/AVR-ArduinoMega-GCC/halconf.h +++ b/demos/AVR-ArduinoMega-GCC/halconf.h @@ -238,7 +238,7 @@ /** * @brief Number of initialization attempts before rejecting the card. - * @note Attempts are performed at 10mS intevals. + * @note Attempts are performed at 10mS intervals. */ #if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__) #define SDC_INIT_RETRY 100 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(); diff --git a/readme.txt b/readme.txt index a2ced2c47..f516bd5e9 100644 --- a/readme.txt +++ b/readme.txt @@ -89,6 +89,7 @@ ***************************************************************************** *** 2.5.2 *** +- FIX: Fixed several spelling errors (bug #404). - FIX: Fixed serial port in STM32F3 discovery test case (bug #402). - FIX: Fixed add %i to chprintf (bug #401). - FIX: Fixed STM32F051 various (bug #400). diff --git a/testhal/STM32F4xx/RTC_FATTIME/chconf.h b/testhal/STM32F4xx/RTC_FATTIME/chconf.h index 2bc2e8d87..868377751 100644 --- a/testhal/STM32F4xx/RTC_FATTIME/chconf.h +++ b/testhal/STM32F4xx/RTC_FATTIME/chconf.h @@ -458,7 +458,7 @@ * @brief Threads initialization hook. * @details User initialization code added to the @p chThdInit() API. * - * @note It is invoked from within @p chThdInit() and implicitily from all + * @note It is invoked from within @p chThdInit() and implicitly from all * the threads creation APIs. */ #if !defined(THREAD_EXT_INIT_HOOK) || defined(__DOXYGEN__) diff --git a/testhal/STM32F4xx/RTC_FATTIME/halconf.h b/testhal/STM32F4xx/RTC_FATTIME/halconf.h index c73356b5b..f33c18c27 100644 --- a/testhal/STM32F4xx/RTC_FATTIME/halconf.h +++ b/testhal/STM32F4xx/RTC_FATTIME/halconf.h @@ -231,7 +231,7 @@ /** * @brief Number of initialization attempts before rejecting the card. - * @note Attempts are performed at 10mS intevals. + * @note Attempts are performed at 10mS intervals. */ #if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__) #define SDC_INIT_RETRY 100 diff --git a/testhal/STM32F4xx/SDC/chconf.h b/testhal/STM32F4xx/SDC/chconf.h index 2bc2e8d87..868377751 100644 --- a/testhal/STM32F4xx/SDC/chconf.h +++ b/testhal/STM32F4xx/SDC/chconf.h @@ -458,7 +458,7 @@ * @brief Threads initialization hook. * @details User initialization code added to the @p chThdInit() API. * - * @note It is invoked from within @p chThdInit() and implicitily from all + * @note It is invoked from within @p chThdInit() and implicitly from all * the threads creation APIs. */ #if !defined(THREAD_EXT_INIT_HOOK) || defined(__DOXYGEN__) diff --git a/testhal/STM32F4xx/SDC/halconf.h b/testhal/STM32F4xx/SDC/halconf.h index 6f64d468f..7c79feea0 100644 --- a/testhal/STM32F4xx/SDC/halconf.h +++ b/testhal/STM32F4xx/SDC/halconf.h @@ -231,7 +231,7 @@ /** * @brief Number of initialization attempts before rejecting the card. - * @note Attempts are performed at 10mS intevals. + * @note Attempts are performed at 10mS intervals. */ #if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__) #define SDC_INIT_RETRY 100