diff options
author | px4dev <px4@purgatory.org> | 2013-06-16 23:02:46 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-06-16 23:02:46 -0700 |
commit | b2ff8b5e1ad80f86aa2efdfdf06b7c55de8d32c0 (patch) | |
tree | 6fe8ad734cad46bdb94bd5708ac5587bd694f695 /src/drivers | |
parent | 3163d7ac0908dfee0978992137500f11f8a42c43 (diff) | |
download | px4-firmware-b2ff8b5e1ad80f86aa2efdfdf06b7c55de8d32c0.tar.gz px4-firmware-b2ff8b5e1ad80f86aa2efdfdf06b7c55de8d32c0.tar.bz2 px4-firmware-b2ff8b5e1ad80f86aa2efdfdf06b7c55de8d32c0.zip |
Turn off logging
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/px4io/uploader.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/px4io/uploader.cpp b/src/drivers/px4io/uploader.cpp index c2f9979b0..9e3f041e3 100644 --- a/src/drivers/px4io/uploader.cpp +++ b/src/drivers/px4io/uploader.cpp @@ -258,12 +258,12 @@ PX4IO_Uploader::recv(uint8_t &c, unsigned timeout) int ret = ::poll(&fds[0], 1, timeout); if (ret < 1) { - log("poll timeout %d", ret); + //log("poll timeout %d", ret); return -ETIMEDOUT; } read(_io_fd, &c, 1); - log("recv 0x%02x", c); + //log("recv 0x%02x", c); return OK; } @@ -290,7 +290,7 @@ PX4IO_Uploader::drain() ret = recv(c, 1000); if (ret == OK) { - log("discard 0x%02x", c); + //log("discard 0x%02x", c); } } while (ret == OK); } @@ -298,7 +298,7 @@ PX4IO_Uploader::drain() int PX4IO_Uploader::send(uint8_t c) { - log("send 0x%02x", c); + //log("send 0x%02x", c); if (write(_io_fd, &c, 1) != 1) return -errno; |