Add CDC ACM serial class device driver

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3953 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-09-13 19:04:13 +00:00
parent 6fc0c99569
commit a96e7ec9d5
13 changed files with 1431 additions and 1141 deletions
+2 -2
View File
@@ -108,14 +108,14 @@ static int lib_mode2oflags(FAR const char *mode)
{
/* Read from the beginning of the file; write to the end */
oflags |= O_RDWR|O_CREAT;
oflags |= O_RDWR|O_CREAT|O_APPEND;
mode++;
}
else
{
/* Write to the end of the file */
oflags |= O_WROK|O_CREAT;
oflags |= O_WROK|O_CREAT|O_APPEND;
}
break;