Fix for overflow in calculation of baud divisor

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1529 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-02-26 02:07:53 +00:00
parent eda416f7c2
commit 998f2524a7

View File

@ -1,7 +1,7 @@
/****************************************************************************
* arch/ez80f910200kitg/include/board.h
*
* Copyright (C) 2008 Gregory Nutt. All rights reserved.
* Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -44,6 +44,10 @@
* Definitions
****************************************************************************/
/* Clocking */
#define EZ80_SYS_CLK_FREQ 50000000
/* LED pattern definitions */
#define LED_STARTED 0