tests: drivers: rtc: rtc_api
Correct time check for get/set Previous check would always pass as it checked get/get. Signed-off-by: Richard Wheatley <richard.wheatley@ambiq.com>
This commit is contained in:
parent
6d7b62452e
commit
9f0cd47c78
1 changed files with 2 additions and 2 deletions
|
@ -116,10 +116,10 @@ ZTEST(rtc_api, test_alarm)
|
|||
zassert_equal(alarm_time_mask_get, alarm_time_mask_set,
|
||||
"Incorrect alarm time mask");
|
||||
|
||||
zassert_equal(alarm_time_get.tm_min, alarm_time_get.tm_min,
|
||||
zassert_equal(alarm_time_get.tm_min, alarm_time_set.tm_min,
|
||||
"Incorrect alarm time minute field");
|
||||
|
||||
zassert_equal(alarm_time_get.tm_hour, alarm_time_get.tm_hour,
|
||||
zassert_equal(alarm_time_get.tm_hour, alarm_time_set.tm_hour,
|
||||
"Incorrect alarm time hour field");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue