* ser_posix.c (baud_lookup_table): Conditionalize the inclusion of

non-standard baud rates (only baud rates up to B38400 are
standardized by the Single UNIX Specification).



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1029 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch 2011-12-30 16:38:58 +00:00
parent 7b66c21c05
commit e1ed50e8e6
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2011-12-30 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
* ser_posix.c (baud_lookup_table): Conditionalize the inclusion of
non-standard baud rates (only baud rates up to B38400 are
standardized by the Single UNIX Specification).
2011-12-29 Rene Liebscher <R.Liebscher@gmx.de> 2011-12-29 Rene Liebscher <R.Liebscher@gmx.de>
bug #34302: Feature request : device configuration with parent classes bug #34302: Feature request : device configuration with parent classes

View File

@ -62,9 +62,15 @@ static struct baud_mapping baud_lookup_table [] = {
{ 9600, B9600 }, { 9600, B9600 },
{ 19200, B19200 }, { 19200, B19200 },
{ 38400, B38400 }, { 38400, B38400 },
#ifdef B57600
{ 57600, B57600 }, { 57600, B57600 },
#endif
#ifdef B115200
{ 115200, B115200 }, { 115200, B115200 },
#endif
#ifdef B230400
{ 230400, B230400 }, { 230400, B230400 },
#endif
{ 0, 0 } /* Terminator. */ { 0, 0 } /* Terminator. */
}; };