summaryrefslogtreecommitdiff
path: root/nuttx/libc
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-10 10:47:38 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-10 10:47:38 -0600
commitd9b419165368939a906f036fa05a5d7654411c5b (patch)
tree63b1f9d523fa77144f75f9b5b5a3e747a6187b0a /nuttx/libc
parentab1019b7df4fc7929bfa1cd58a35a5d9c56708a6 (diff)
downloadpx4-nuttx-d9b419165368939a906f036fa05a5d7654411c5b.tar.gz
px4-nuttx-d9b419165368939a906f036fa05a5d7654411c5b.tar.bz2
px4-nuttx-d9b419165368939a906f036fa05a5d7654411c5b.zip
SAMA5: Fix bugs in timer/counter interrupts and one-shot timer
Diffstat (limited to 'nuttx/libc')
-rw-r--r--nuttx/libc/stdio/lib_rawsostream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/libc/stdio/lib_rawsostream.c b/nuttx/libc/stdio/lib_rawsostream.c
index 489a0fe9b..7d971a36a 100644
--- a/nuttx/libc/stdio/lib_rawsostream.c
+++ b/nuttx/libc/stdio/lib_rawsostream.c
@@ -73,8 +73,8 @@ static void rawoutstream_putc(FAR struct lib_outstream_s *this, int ch)
}
/* The only expected error is EINTR, meaning that the write operation
- * was awakened by a signal. Zero would not be a valid return value
- * from write().
+ * was awakened by a signal. Zero or values > 1 would not be valid
+ * return values from write().
*/
DEBUGASSERT(nwritten < 0);