Skip to content

Commit

Permalink
gh #100 dsVideoPort set/Get Allm enable status
Browse files Browse the repository at this point in the history
* updated invalid hanlde to  0 in negative cases.
  • Loading branch information
akhilbhas committed Dec 23, 2024
1 parent f36a67e commit b724909
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test_l1_dsVideoPort.c
Original file line number Diff line number Diff line change
Expand Up @@ -4974,7 +4974,7 @@ void test_l1_dsVideoPort_negative_dsGetAllmEnabled(void) {
UT_LOG_INFO("\n In %s [%02d%03d]\n", __FUNCTION__, gTestGroup, gTestID);

dsError_t status = dsERR_NONE;
intptr_t handle = -1;
intptr_t handle = 0;
bool enabled = false;

// Step 01: Attempt to get ALLM Status without initialization
Expand Down Expand Up @@ -5129,7 +5129,7 @@ void test_l1_dsVideoPort_negative_dsSetAllmEnabled(void) {
UT_LOG_INFO("\n In %s [%02d%03d]\n", __FUNCTION__, gTestGroup, gTestID);

dsError_t status = dsERR_NONE;
intptr_t handle = -1;
intptr_t handle = 0;

// Step 01: Attempt to Enable ALLM without initialization
status = dsSetAllmEnabled(handle, true );
Expand Down

0 comments on commit b724909

Please sign in to comment.