aboutsummaryrefslogtreecommitdiff
path: root/src/modules/systemlib/hx_stream.c
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-06-30 09:59:45 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-06-30 09:59:45 +0200
commit857b843d445f59f2dc393e4d5f879fc56f77a0e0 (patch)
treea5167e5c336b4f8fcb1550317c7e26da7bfedbfe /src/modules/systemlib/hx_stream.c
parent28a31708f98eefa4ceb04617f2da3dd7892c99fa (diff)
parent92adbe9216c96c53d1baa4eb1e14b4ede272c080 (diff)
downloadpx4-firmware-857b843d445f59f2dc393e4d5f879fc56f77a0e0.tar.gz
px4-firmware-857b843d445f59f2dc393e4d5f879fc56f77a0e0.tar.bz2
px4-firmware-857b843d445f59f2dc393e4d5f879fc56f77a0e0.zip
Merge pull request #1095 from DonLakeFlyer/CompilerWarnings
Fix compiler warnings
Diffstat (limited to 'src/modules/systemlib/hx_stream.c')
-rw-r--r--src/modules/systemlib/hx_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/systemlib/hx_stream.c b/src/modules/systemlib/hx_stream.c
index 8e9c2bfcf..52ae77de5 100644
--- a/src/modules/systemlib/hx_stream.c
+++ b/src/modules/systemlib/hx_stream.c
@@ -63,7 +63,7 @@ struct hx_stream {
/* TX state */
int fd;
bool tx_error;
- uint8_t *tx_buf;
+ const uint8_t *tx_buf;
unsigned tx_resid;
uint32_t tx_crc;
enum {