Fixed bug #404.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5629 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
6853fa7a76
commit
c4a01fccef
|
@ -54,7 +54,7 @@ void boardInit(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Inserion monitor function.
|
* @brief Insertion monitor function.
|
||||||
*
|
*
|
||||||
* @param[in] sdcp pointer to the @p SDCDriver object
|
* @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.
|
* @brief Protection detection.
|
||||||
* @note Not supported, allways not protected.
|
* @note Not supported, always not protected.
|
||||||
*
|
*
|
||||||
* @param[in] sdcp pointer to the @p SDCDriver object
|
* @param[in] sdcp pointer to the @p SDCDriver object
|
||||||
*
|
*
|
||||||
|
|
|
@ -455,7 +455,7 @@
|
||||||
* @brief Threads initialization hook.
|
* @brief Threads initialization hook.
|
||||||
* @details User initialization code added to the @p chThdInit() API.
|
* @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.
|
* the threads creation APIs.
|
||||||
*/
|
*/
|
||||||
#if !defined(THREAD_EXT_INIT_HOOK) || defined(__DOXYGEN__)
|
#if !defined(THREAD_EXT_INIT_HOOK) || defined(__DOXYGEN__)
|
||||||
|
|
|
@ -238,7 +238,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Number of initialization attempts before rejecting the card.
|
* @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__)
|
#if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__)
|
||||||
#define SDC_INIT_RETRY 100
|
#define SDC_INIT_RETRY 100
|
||||||
|
|
|
@ -249,7 +249,7 @@ typedef enum {
|
||||||
*/
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
USB_EP0_WAITING_SETUP, /**< Waiting for SETUP data. */
|
USB_EP0_WAITING_SETUP, /**< Waiting for SETUP data. */
|
||||||
USB_EP0_TX, /**< Trasmitting. */
|
USB_EP0_TX, /**< Transmitting. */
|
||||||
USB_EP0_WAITING_STS, /**< Waiting status. */
|
USB_EP0_WAITING_STS, /**< Waiting status. */
|
||||||
USB_EP0_RX, /**< Receiving. */
|
USB_EP0_RX, /**< Receiving. */
|
||||||
USB_EP0_SENDING_STS, /**< Sending status. */
|
USB_EP0_SENDING_STS, /**< Sending status. */
|
||||||
|
|
|
@ -227,7 +227,7 @@ void adc_lld_start(ADCDriver *adcp) {
|
||||||
if (adcp->state == ADC_STOP) {
|
if (adcp->state == ADC_STOP) {
|
||||||
|
|
||||||
/* Take it out of sleep mode */
|
/* 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();
|
adc_wake();
|
||||||
|
|
||||||
/* TODO: We really should perform a conversion here just to ensure that we are out of sleep mode */
|
/* TODO: We really should perform a conversion here just to ensure that we are out of sleep mode */
|
||||||
|
|
|
@ -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] spip pointer to the @p SPIDriver object
|
||||||
* @param[in] n number of words to be exchanged
|
* @param[in] n number of words to be exchanged
|
||||||
|
|
|
@ -149,7 +149,7 @@ void _thread_memfill(uint8_t *startp, uint8_t *endp, uint8_t v) {
|
||||||
*/
|
*/
|
||||||
Thread *chThdCreateI(void *wsp, size_t size,
|
Thread *chThdCreateI(void *wsp, size_t size,
|
||||||
tprio_t prio, tfunc_t pf, void *arg) {
|
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;
|
Thread *tp = wsp;
|
||||||
|
|
||||||
chDbgCheckClassI();
|
chDbgCheckClassI();
|
||||||
|
|
|
@ -89,6 +89,7 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
*** 2.5.2 ***
|
*** 2.5.2 ***
|
||||||
|
- FIX: Fixed several spelling errors (bug #404).
|
||||||
- FIX: Fixed serial port in STM32F3 discovery test case (bug #402).
|
- FIX: Fixed serial port in STM32F3 discovery test case (bug #402).
|
||||||
- FIX: Fixed add %i to chprintf (bug #401).
|
- FIX: Fixed add %i to chprintf (bug #401).
|
||||||
- FIX: Fixed STM32F051 various (bug #400).
|
- FIX: Fixed STM32F051 various (bug #400).
|
||||||
|
|
|
@ -458,7 +458,7 @@
|
||||||
* @brief Threads initialization hook.
|
* @brief Threads initialization hook.
|
||||||
* @details User initialization code added to the @p chThdInit() API.
|
* @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.
|
* the threads creation APIs.
|
||||||
*/
|
*/
|
||||||
#if !defined(THREAD_EXT_INIT_HOOK) || defined(__DOXYGEN__)
|
#if !defined(THREAD_EXT_INIT_HOOK) || defined(__DOXYGEN__)
|
||||||
|
|
|
@ -231,7 +231,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Number of initialization attempts before rejecting the card.
|
* @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__)
|
#if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__)
|
||||||
#define SDC_INIT_RETRY 100
|
#define SDC_INIT_RETRY 100
|
||||||
|
|
|
@ -458,7 +458,7 @@
|
||||||
* @brief Threads initialization hook.
|
* @brief Threads initialization hook.
|
||||||
* @details User initialization code added to the @p chThdInit() API.
|
* @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.
|
* the threads creation APIs.
|
||||||
*/
|
*/
|
||||||
#if !defined(THREAD_EXT_INIT_HOOK) || defined(__DOXYGEN__)
|
#if !defined(THREAD_EXT_INIT_HOOK) || defined(__DOXYGEN__)
|
||||||
|
|
|
@ -231,7 +231,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Number of initialization attempts before rejecting the card.
|
* @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__)
|
#if !defined(SDC_INIT_RETRY) || defined(__DOXYGEN__)
|
||||||
#define SDC_INIT_RETRY 100
|
#define SDC_INIT_RETRY 100
|
||||||
|
|
Loading…
Reference in New Issue