Changeset 0bdfa8d in rtems


Ignore:
Timestamp:
Apr 28, 2005, 2:56:36 PM (15 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Children:
d2565ce
Parents:
53923e8
Message:

2005-04-28 Jennifer Averett <jennifer.averett@…>

PR 781/misc

  • serial/ns16550_p.h: Fix baud rate calculation
Location:
c/src/libchip
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/ChangeLog

    r53923e8 r0bdfa8d  
     12005-04-28      Jennifer Averett <jennifer.averett@oarcorp.com>
     2
     3        PR 781/misc
     4        * serial/ns16550_p.h: Fix baud rate calculation
     5
    162004-11-22      Joel Sherrill <joel@OARcorp.com>
    27
  • c/src/libchip/serial/ns16550_p.h

    r53923e8 r0bdfa8d  
    134134
    135135#define NS16550_Baud(_clock, _baud_rate) \
    136   ((((_clock) == 0) ? 115200 : (_clock))/(_baud_rate))
     136  ((((_clock) == 0) ? 115200 : (_clock))/(_baud_rate*16))
    137137
    138138/*
Note: See TracChangeset for help on using the changeset viewer.