Fixed bug #684.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8626 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
59dfc570f2
commit
b59b2d79da
|
@ -38,7 +38,7 @@ PROJECT_NAME = ChibiOS/HAL
|
||||||
# could be handy for archiving the generated documentation or if some version
|
# could be handy for archiving the generated documentation or if some version
|
||||||
# control system is used.
|
# control system is used.
|
||||||
|
|
||||||
PROJECT_NUMBER = 3.1.0
|
PROJECT_NUMBER = 4.0.0
|
||||||
|
|
||||||
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
||||||
# for a project that appears at the top of each page and should give viewer a
|
# for a project that appears at the top of each page and should give viewer a
|
||||||
|
|
|
@ -38,7 +38,7 @@ PROJECT_NAME = ChibiOS/HAL
|
||||||
# could be handy for archiving the generated documentation or if some version
|
# could be handy for archiving the generated documentation or if some version
|
||||||
# control system is used.
|
# control system is used.
|
||||||
|
|
||||||
PROJECT_NUMBER = 3.1.0
|
PROJECT_NUMBER = 4.0.0
|
||||||
|
|
||||||
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
||||||
# for a project that appears at the top of each page and should give viewer a
|
# for a project that appears at the top of each page and should give viewer a
|
||||||
|
|
|
@ -103,17 +103,17 @@
|
||||||
/**
|
/**
|
||||||
* @brief HAL version string.
|
* @brief HAL version string.
|
||||||
*/
|
*/
|
||||||
#define HAL_VERSION "3.1.0dev"
|
#define HAL_VERSION "4.0.0dev"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief HAL version major number.
|
* @brief HAL version major number.
|
||||||
*/
|
*/
|
||||||
#define CH_HAL_MAJOR 3
|
#define CH_HAL_MAJOR 4
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief HAL version minor number.
|
* @brief HAL version minor number.
|
||||||
*/
|
*/
|
||||||
#define CH_HAL_MINOR 1
|
#define CH_HAL_MINOR 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief HAL version patch number.
|
* @brief HAL version patch number.
|
||||||
|
|
|
@ -136,7 +136,7 @@ int chvprintf(BaseSequentialStream *chp, const char *fmt, va_list ap) {
|
||||||
if (c == 0)
|
if (c == 0)
|
||||||
return n;
|
return n;
|
||||||
if (c != '%') {
|
if (c != '%') {
|
||||||
chSequentialStreamPut(chp, (uint8_t)c);
|
streamPut(chp, (uint8_t)c);
|
||||||
n++;
|
n++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -254,22 +254,22 @@ unsigned_common:
|
||||||
width = -width;
|
width = -width;
|
||||||
if (width < 0) {
|
if (width < 0) {
|
||||||
if (*s == '-' && filler == '0') {
|
if (*s == '-' && filler == '0') {
|
||||||
chSequentialStreamPut(chp, (uint8_t)*s++);
|
streamPut(chp, (uint8_t)*s++);
|
||||||
n++;
|
n++;
|
||||||
i--;
|
i--;
|
||||||
}
|
}
|
||||||
do {
|
do {
|
||||||
chSequentialStreamPut(chp, (uint8_t)filler);
|
streamPut(chp, (uint8_t)filler);
|
||||||
n++;
|
n++;
|
||||||
} while (++width != 0);
|
} while (++width != 0);
|
||||||
}
|
}
|
||||||
while (--i >= 0) {
|
while (--i >= 0) {
|
||||||
chSequentialStreamPut(chp, (uint8_t)*s++);
|
streamPut(chp, (uint8_t)*s++);
|
||||||
n++;
|
n++;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (width) {
|
while (width) {
|
||||||
chSequentialStreamPut(chp, (uint8_t)filler);
|
streamPut(chp, (uint8_t)filler);
|
||||||
n++;
|
n++;
|
||||||
width--;
|
width--;
|
||||||
}
|
}
|
||||||
|
|
|
@ -142,6 +142,8 @@
|
||||||
- HAL: Updated STM32F0xx headers to STM32CubeF0 version 1.3.0. Added support
|
- HAL: Updated STM32F0xx headers to STM32CubeF0 version 1.3.0. Added support
|
||||||
for STM32F030xC, STM32F070x6, STM32F070xB, STM32F091xC,
|
for STM32F030xC, STM32F070x6, STM32F070xB, STM32F091xC,
|
||||||
STM32F098xx devices.
|
STM32F098xx devices.
|
||||||
|
- HAL: Fixed chprintf() still calling RT functions (bug #684)(backported
|
||||||
|
to 3.0.5).
|
||||||
- HAL: Fixed STM32 ICU driver uses chSysLock and chSysUnlock (bug #681)
|
- HAL: Fixed STM32 ICU driver uses chSysLock and chSysUnlock (bug #681)
|
||||||
(backported to 3.0.4).
|
(backported to 3.0.4).
|
||||||
- HAL: Fixed wrong DMA priority assigned to STM32F3 ADC3&4 (bug #680)
|
- HAL: Fixed wrong DMA priority assigned to STM32F3 ADC3&4 (bug #680)
|
||||||
|
|
Loading…
Reference in New Issue