projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some fixes for IE7.
[bertos.git]
/
bertos
/
cpu
/
i196
/
drv
/
ser_i196.c
diff --git
a/bertos/cpu/i196/drv/ser_i196.c
b/bertos/cpu/i196/drv/ser_i196.c
index a87de6fa5ed4110a28c60aae8ec5335d7c1fc627..7cfa18dc69358b889e5c5a33646508b2e9c66260 100644
(file)
--- a/
bertos/cpu/i196/drv/ser_i196.c
+++ b/
bertos/cpu/i196/drv/ser_i196.c
@@
-27,13
+27,12
@@
* the GNU General Public License.
*
* Copyright (C) 2003,2004 Develer S.r.l. (http://www.develer.com/)
* the GNU General Public License.
*
* Copyright (C) 2003,2004 Develer S.r.l. (http://www.develer.com/)
- * Copyright (C) 2000 Bern
ardo
Innocenti <bernie@codewiz.org>
+ * Copyright (C) 2000 Bern
ie
Innocenti <bernie@codewiz.org>
*
* -->
*
*
* -->
*
- * \version $Id$
*
*
- * \author Bern
ardo Innocenti <bernie@develer.com
>
+ * \author Bern
ie Innocenti <bernie@codewiz.org
>
*
* \brief CPU specific serial I/O driver
*/
*
* \brief CPU specific serial I/O driver
*/
@@
-111,7
+110,7
@@
INTERRUPT(0x32) void RI_interrupt(void)
static void ser_setbaudrate(unsigned long rate)
{
// Calcola il periodo per la generazione del baud rate richiesto
static void ser_setbaudrate(unsigned long rate)
{
// Calcola il periodo per la generazione del baud rate richiesto
- uint16_t baud = (uint16_t)(((C
LOCK
_FREQ / 16) / rate) - 1) | 0x8000;
+ uint16_t baud = (uint16_t)(((C
PU
_FREQ / 16) / rate) - 1) | 0x8000;
BAUD_RATE = (uint8_t)baud;
BAUD_RATE = (uint8_t)(baud >> 8);
}
BAUD_RATE = (uint8_t)baud;
BAUD_RATE = (uint8_t)(baud >> 8);
}