AP_SmartRTL: fixed build warning

This commit is contained in:
Andrew Tridgell 2018-05-04 11:41:05 +10:00
parent 99884c89c9
commit 930d22daf9
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ void check_path(const std::vector<Vector3f>& correct_path, const char* test_name
} }
// display overall results // display overall results
hal.console->printf("%s: %s time:%u us\n", test_name, (num_points_match && points_match) ? "success" : "fail", time_us); hal.console->printf("%s: %s time:%u us\n", test_name, (num_points_match && points_match) ? "success" : "fail", (unsigned)time_us);
// display number of points // display number of points
hal.console->printf(" expected %u points, got %u\n", (unsigned)correct_path.size(), (unsigned)smart_rtl.get_num_points()); hal.console->printf(" expected %u points, got %u\n", (unsigned)correct_path.size(), (unsigned)smart_rtl.get_num_points());