cpukit/termios: Fix ordering of baud rate table

rtems_termios_set_best_baud expects a sorted baud rate table.

Fixes #5220
This commit is contained in:
Jan Sommer
2024-12-05 12:59:32 +01:00
committed by Kinsey Moore
parent 13cbd83444
commit 616545350f

View File

@@ -34,11 +34,11 @@ const rtems_assoc_t rtems_termios_baud_table [] = {
{ "B1800", 1800, B1800 },
{ "B2400", 2400, B2400 },
{ "B4800", 4800, B4800 },
{ "B7200", 7200, B7200 },
{ "B9600", 9600, B9600 },
{ "B14400", 14400, B14400 },
{ "B19200", 19200, B19200 },
{ "B38400", 38400, B38400 },
{ "B7200", 7200, B7200 },
{ "B14400", 14400, B14400 },
{ "B28800", 28800, B28800 },
{ "B57600", 57600, B57600 },
{ "B76800", 76800, B76800 },