mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 10:03:35 +08:00
LPC17xx serial now supports minimal termios ioctls; serial driver ioctl methods should not set errno variable
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4994 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -3091,4 +3091,9 @@
|
||||
IOPORT register.
|
||||
* lib/string/lib_memchr.c: Add support for memchr() (contributed by Mike Smith)
|
||||
* lib/string/lib_memccpy.c: Add support for memcpy()
|
||||
* arch/arm/src/lpc17xx/lpc17_serial.c: Now supports ioctl commands to change
|
||||
the baud using tcsetattr() (contributed by Chris Taglia).
|
||||
* arch/*/src/*_serial.c: Fix ioctl method return values. Theses methods
|
||||
should return a negated errno value; they should not set the errno
|
||||
variable.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user