diff options
author | px4dev <px4@purgatory.org> | 2012-11-02 22:46:35 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-11-03 01:14:24 -0700 |
commit | e36bd4b2431ee659f473ca807e9a9fcef8c2e894 (patch) | |
tree | 1497164c3d077a8049fe4172d0c65f3ebcde3da3 /apps/systemlib/hx_stream.h | |
parent | c8e90688b0e7a4b92a5f5067f3d74b085cc8e82b (diff) | |
download | px4-firmware-e36bd4b2431ee659f473ca807e9a9fcef8c2e894.tar.gz px4-firmware-e36bd4b2431ee659f473ca807e9a9fcef8c2e894.tar.bz2 px4-firmware-e36bd4b2431ee659f473ca807e9a9fcef8c2e894.zip |
Fix transmit error reporting.
Diffstat (limited to 'apps/systemlib/hx_stream.h')
-rw-r--r-- | apps/systemlib/hx_stream.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/systemlib/hx_stream.h b/apps/systemlib/hx_stream.h index ac3b3e99d..128689953 100644 --- a/apps/systemlib/hx_stream.h +++ b/apps/systemlib/hx_stream.h @@ -102,8 +102,7 @@ __EXPORT extern void hx_stream_set_counters(hx_stream_t stream, * @param stream A handle returned from hx_stream_init. * @param data Pointer to the data to send. * @param count The number of bytes to send. - * @return Zero on success, nonzero with errno - * set on error. + * @return Zero on success, -errno on error. */ __EXPORT extern int hx_stream_send(hx_stream_t stream, const void *data, |