mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 02:43:34 +08:00
dsm rctest fix num_values return
This commit is contained in:
committed by
Lorenz Meier
parent
93b0f07b43
commit
de128aaa6e
@@ -103,7 +103,7 @@ bool RCTest::dsmTest(const char *filepath, unsigned expected_chancount, unsigned
|
||||
&dsm_11_bit, &dsm_frame_drops, max_channels);
|
||||
|
||||
if (result) {
|
||||
ut_test(num_values == expected_chancount);
|
||||
ut_compare("num_values == expected_chancount", num_values, expected_chancount);
|
||||
|
||||
ut_test(abs((int)chan0 - (int)rc_values[0]) < 30);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user