* the GNU General Public License.
*
* Copyright (C) 2003,2004 Develer S.r.l. (http://www.develer.com/)
- * Copyright (C) 2000 Bernardo Innocenti <bernie@codewiz.org>
+ * Copyright (C) 2000 Bernie Innocenti <bernie@codewiz.org>
*
* -->
*
- * \version $Id$
*
- * \author Bernardo Innocenti <bernie@develer.com>
+ * \author Bernie Innocenti <bernie@codewiz.org>
*
* \brief CPU specific serial I/O driver
*/
static void ser_setbaudrate(unsigned long rate)
{
// Calcola il periodo per la generazione del baud rate richiesto
- uint16_t baud = (uint16_t)(((CLOCK_FREQ / 16) / rate) - 1) | 0x8000;
+ uint16_t baud = (uint16_t)(((CPU_FREQ / 16) / rate) - 1) | 0x8000;
BAUD_RATE = (uint8_t)baud;
BAUD_RATE = (uint8_t)(baud >> 8);
}