summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-04-03 12:51:51 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-04-03 14:07:58 +0200
commit1301468b5a6e1080ba94ab4ca763c7e8e5c223e4 (patch)
treec96fd5f7e874294c2834a0d230082ad7a79eb0bb /cpukit/libcsupport
parentconfigure: Remove defunct configure stuff (diff)
downloadrtems-1301468b5a6e1080ba94ab4ca763c7e8e5c223e4.tar.bz2
bsps: Fix baud settings
Update #2897.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r--cpukit/libcsupport/include/rtems/termiostypes.h6
1 files changed, 2 insertions, 4 deletions
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