Crank up the test speed for 'px4io iftest 1'

This commit is contained in:
px4dev 2013-07-06 12:28:01 -07:00
parent 4d400aa7e7
commit 17f9c7d15c
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}