From 66853f838221ee29c6037e34f8a004d261b338f1 Mon Sep 17 00:00:00 2001 From: anbukannadhasan <154507930+Anbukannadhasan@users.noreply.github.com> Date: Fri, 28 Jun 2024 11:07:28 +0100 Subject: [PATCH] gh #78 update flag for source and sink --- src/test_l2_dsDisplay.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test_l2_dsDisplay.c b/src/test_l2_dsDisplay.c index f32594ad..9dd08239 100644 --- a/src/test_l2_dsDisplay.c +++ b/src/test_l2_dsDisplay.c @@ -233,21 +233,21 @@ int test_l2_dsDisplay_register(void) // Create the test suite if (status == UT_KVP_STATUS_SUCCESS ) { - if (!strncmp(gDeviceType, TEST_TYPE_SOURCE_VALUE, TEST_DS_DEVICE_TYPE_SIZE)) { + if (!strncmp(gDeviceType, TEST_TYPE_SINK_VALUE, TEST_DS_DEVICE_TYPE_SIZE)) { pSuite = UT_add_suite("[L2 dsDisplay Sink]", NULL, NULL); if (pSuite == NULL) { return -1; } - source_type = 1; + source_type = 0; } - else if(!strncmp(gDeviceType, TEST_TYPE_SINK_VALUE, TEST_DS_DEVICE_TYPE_SIZE)) { + else if(!strncmp(gDeviceType, TEST_TYPE_SOURCE_VALUE, TEST_DS_DEVICE_TYPE_SIZE)) { pSuite = UT_add_suite("[L2 dsDisplay Source ]", NULL, NULL); if (pSuite == NULL) { return -1; } - source_type = 0; + source_type = 1; } else { UT_LOG_ERROR("Invalid platform type: %s", gDeviceType);