Skip to content
Snippets Groups Projects
Commit 17f9c7d1 authored by px4dev's avatar px4dev
Browse files

Crank up the test speed for 'px4io iftest 1'

parent 4d400aa7
No related branches found
No related tags found
No related merge requests found
......@@ -303,7 +303,7 @@ PX4IO_serial::test(unsigned mode)
if (set_reg(PX4IO_PAGE_TEST, PX4IO_P_TEST_LED, &value, 1) != 0)
fails++;
if (count >= 1000) {
if (count >= 5000) {
lowsyslog("==== test 1 : %u failures ====\n", fails);
perf_print_counter(_pc_txns);
perf_print_counter(_pc_dmasetup);
......@@ -317,7 +317,6 @@ PX4IO_serial::test(unsigned mode)
perf_print_counter(_pc_badidle);
count = 0;
}
usleep(1000);
}
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment