aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorDon Gagne <don@thegagnes.com>2014-07-07 10:17:39 -0700
committerDon Gagne <don@thegagnes.com>2014-07-07 10:17:39 -0700
commitf5c14ff140804b351464e53ec264945f9bcd48f3 (patch)
tree0997dd3830d1bf699019d7d6a9fe7c8021233871 /src/modules
parentb8ba6400f26e573236d60929283c673fb620f28e (diff)
downloadpx4-firmware-f5c14ff140804b351464e53ec264945f9bcd48f3.tar.gz
px4-firmware-f5c14ff140804b351464e53ec264945f9bcd48f3.tar.bz2
px4-firmware-f5c14ff140804b351464e53ec264945f9bcd48f3.zip
Turn off noisier logging
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/mavlink/mavlink_ftp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/mavlink/mavlink_ftp.cpp b/src/modules/mavlink/mavlink_ftp.cpp
index 2da381a2d..e0a52f393 100644
--- a/src/modules/mavlink/mavlink_ftp.cpp
+++ b/src/modules/mavlink/mavlink_ftp.cpp
@@ -210,7 +210,7 @@ MavlinkFTP::_workList(Request *req)
return kErrNotDir;
}
- printf("FTP: list %s offset %d\n", dirPath, hdr->offset);
+ printf("FTP: list %s offset %d\n", dirPath, hdr->offset);
ErrorCode errorCode = kErrNone;
struct dirent entry, *result = nullptr;
@@ -222,7 +222,7 @@ MavlinkFTP::_workList(Request *req)
for (;;) {
// read the directory entry
if (readdir_r(dp, &entry, &result)) {
- printf("FTP: list %s readdir_r failure\n", dirPath);
+ printf("FTP: list %s readdir_r failure\n", dirPath);
errorCode = kErrIO;
break;
}
@@ -258,7 +258,7 @@ MavlinkFTP::_workList(Request *req)
// copy the name, which we know will fit
strcpy((char *)&hdr->data[offset], entry.d_name);
- printf("FTP: list %s %s\n", dirPath, (char *)&hdr->data[offset-1]);
+ //printf("FTP: list %s %s\n", dirPath, (char *)&hdr->data[offset-1]);
offset += strlen(entry.d_name) + 1;
}