unittests trivial cleanup

-add -Qunused-arguments for clang
-update to a recent cmake
-comment unused variables
This commit is contained in:
Daniel Agar
2015-08-29 20:43:00 -04:00
parent c708a6355e
commit 5391e8a24f
7 changed files with 17 additions and 12 deletions
+2 -3
View File
@@ -41,7 +41,7 @@ TEST(SUMDTest, SUMD)
last_time = f;
// Pipe the data into the parser
hrt_abstime now = hrt_absolute_time();
//hrt_abstime now = hrt_absolute_time();
uint8_t rssi;
uint8_t rx_count;
@@ -53,8 +53,7 @@ TEST(SUMDTest, SUMD)
//warnx("decoded: %u channels (converted to PPM range)", (unsigned)channel_count);
for (unsigned i = 0; i < channel_count; i++) {
int16_t val = channels[i];
//int16_t val = channels[i];
//warnx("channel %u: %d 0x%03X", i, static_cast<int>(val), static_cast<int>(val));
}
}