diff --git a/s1_tests/s1_tests.c b/s1_tests/s1_tests.c index 21800e5..5da83e7 100644 --- a/s1_tests/s1_tests.c +++ b/s1_tests/s1_tests.c @@ -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);