Skip to content

Commit

Permalink
Updated text in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
siliconwitch committed Jun 20, 2022
1 parent adb0d46 commit 6914fe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions s1_tests/s1_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ int main(void)
float vaux;
err = s1_pmic_get_vaux(&vaux);
LOG_FAIL(err != S1_SUCCESS, "s1_pmic_get_vaux() returned the error code %d", err);
LOG_FAIL(vaux != 3.0f, "Vio did not round down correctly. Vio = %f", (double)vaux);
LOG_PASS(vaux == 3.0f, "Vio correctly rounded down to 3.0V");
LOG_FAIL(vaux != 3.0f, "Vaux did not round down correctly. Vio = %f", (double)vaux);
LOG_PASS(vaux == 3.0f, "Vaux correctly rounded down to 3.0V");

err = s1_pmic_set_vaux(3.03f);
LOG_FAIL(err != S1_SUCCESS, "s1_pmic_set_vaux() returned the error code %d", err);
Expand Down

0 comments on commit 6914fe1

Please sign in to comment.