diff --git a/tests/xua_unit_tests/src/test_multi_report/test_hid_multi_report.c b/tests/xua_unit_tests/src/test_multi_report/test_hid_multi_report.c index ba0df58a..a78e7fcf 100644 --- a/tests/xua_unit_tests/src/test_multi_report/test_hid_multi_report.c +++ b/tests/xua_unit_tests/src/test_multi_report/test_hid_multi_report.c @@ -67,16 +67,16 @@ void test_get_next_valid_report_id( void ) { unsigned reportId = 0U; reportId = hidGetNextValidReportId(reportId); - TEST_ASSERT_EQUAL_UINT( 1, reportIdInUse ); + TEST_ASSERT_EQUAL_UINT( 1, reportId ); reportId = hidGetNextValidReportId(reportId); - TEST_ASSERT_EQUAL_UINT( 2, reportIdInUse ); + TEST_ASSERT_EQUAL_UINT( 2, reportId ); reportId = hidGetNextValidReportId(reportId); - TEST_ASSERT_EQUAL_UINT( 3, reportIdInUse ); + TEST_ASSERT_EQUAL_UINT( 3, reportId ); reportId = hidGetNextValidReportId(reportId); - TEST_ASSERT_EQUAL_UINT( 1, reportIdInUse ); + TEST_ASSERT_EQUAL_UINT( 1, reportId ); } // Basic report descriptor tests diff --git a/tests/xua_unit_tests/src/test_simple/test_hid.c b/tests/xua_unit_tests/src/test_simple/test_hid.c index 0dc896e7..29d96021 100644 --- a/tests/xua_unit_tests/src/test_simple/test_hid.c +++ b/tests/xua_unit_tests/src/test_simple/test_hid.c @@ -54,10 +54,10 @@ void test_get_next_valid_report_id( void ) { unsigned reportId = 0U; reportId = hidGetNextValidReportId(reportId); - TEST_ASSERT_EQUAL_UINT( 0, reportIdInUse ); + TEST_ASSERT_EQUAL_UINT( 0, reportId ); reportId = hidGetNextValidReportId(reportId); - TEST_ASSERT_EQUAL_UINT( 0, reportIdInUse ); + TEST_ASSERT_EQUAL_UINT( 0, reportId ); } // Basic report descriptor tests