From 1301468b5a6e1080ba94ab4ca763c7e8e5c223e4 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 3 Apr 2017 12:51:51 +0200 Subject: bsps: Fix baud settings Update #2897. --- cpukit/libcsupport/include/rtems/termiostypes.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cpukit/libcsupport') diff --git a/cpukit/libcsupport/include/rtems/termiostypes.h b/cpukit/libcsupport/include/rtems/termiostypes.h index f68de0c12f..1140c6162d 100644 --- a/cpukit/libcsupport/include/rtems/termiostypes.h +++ b/cpukit/libcsupport/include/rtems/termiostypes.h @@ -530,14 +530,12 @@ extern const rtems_assoc_t rtems_termios_baud_table []; speed_t rtems_termios_number_to_baud(rtems_termios_baud_t baud); /** - * @brief Convert Baud Part of Termios control flags to an integral Baud Value - * - * There is no need to mask the @a c_cflag with @c CBAUD. + * @brief Converts the baud flags to an integral baud value. * * @retval 0 Invalid baud value or a baud value of @c B0. * @retval other Integral baud value. */ -rtems_termios_baud_t rtems_termios_baud_to_number(speed_t c_cflag); +rtems_termios_baud_t rtems_termios_baud_to_number(speed_t baud); /** * @brief Convert Bxxx Constant to Index -- cgit v1.2.3