Fixed bug 3299306.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2942 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
3d0610f1cc
commit
86e53137e1
|
@ -106,7 +106,7 @@ typedef struct {
|
||||||
* @brief Macro for baud rate computation.
|
* @brief Macro for baud rate computation.
|
||||||
* @note Make sure the final baud rate is within tolerance.
|
* @note Make sure the final baud rate is within tolerance.
|
||||||
*/
|
*/
|
||||||
#define UBRR(b) ((F_CPU / (b << 4)) - 1)
|
#define UBRR(b) (((F_CPU / b) >> 4) - 1)
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* External declarations. */
|
/* External declarations. */
|
||||||
|
|
|
@ -71,6 +71,8 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
*** 2.3.2 ***
|
*** 2.3.2 ***
|
||||||
|
- FIX: Fixed invalid BRR() macro in AVR serial driver (bug 3299306)(backported
|
||||||
|
to 2.2.4).
|
||||||
- FIX: Fixed missing IRQ vectors amicable names for STM32 XL devices (bug
|
- FIX: Fixed missing IRQ vectors amicable names for STM32 XL devices (bug
|
||||||
3298889)(backported to 2.2.4).
|
3298889)(backported to 2.2.4).
|
||||||
- FIX: Fixed wrong identifier in AVR serial driver (bug 3292084)(backported
|
- FIX: Fixed wrong identifier in AVR serial driver (bug 3292084)(backported
|
||||||
|
|
Loading…
Reference in New Issue