mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-27 14:35:27 +00:00
Rename the BAUD_xxx baud rate defines to PAR_BAUD_xxx to avoid a name
clash with the Win32 API names for baud rates. Reported by: Eric git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@462 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
16
jtagmkII.c
16
jtagmkII.c
@@ -932,14 +932,14 @@ static unsigned char jtagmkII_get_baud(long baud)
|
||||
long baud;
|
||||
unsigned char val;
|
||||
} baudtab[] = {
|
||||
{ 2400L, BAUD_2400 },
|
||||
{ 4800L, BAUD_4800 },
|
||||
{ 9600L, BAUD_9600 },
|
||||
{ 19200L, BAUD_19200 },
|
||||
{ 38400L, BAUD_38400 },
|
||||
{ 57600L, BAUD_57600 },
|
||||
{ 115200L, BAUD_115200 },
|
||||
{ 14400L, BAUD_14400 },
|
||||
{ 2400L, PAR_BAUD_2400 },
|
||||
{ 4800L, PAR_BAUD_4800 },
|
||||
{ 9600L, PAR_BAUD_9600 },
|
||||
{ 19200L, PAR_BAUD_19200 },
|
||||
{ 38400L, PAR_BAUD_38400 },
|
||||
{ 57600L, PAR_BAUD_57600 },
|
||||
{ 115200L, PAR_BAUD_115200 },
|
||||
{ 14400L, PAR_BAUD_14400 },
|
||||
};
|
||||
int i;
|
||||
|
||||
|
Reference in New Issue
Block a user