Skip to content

Commit d04c3c1

Browse files
michal-smolanashif
authored andcommitted
tests: drivers: counter_basic_api: Support mcux rtc counter
Allow counter_mcux_rtc in reliable_cancel_capable test. Signed-off-by: Michal Smola <[email protected]>
1 parent 527a225 commit d04c3c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/drivers/counter/counter_basic_api/src/test_counter.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,6 +1086,11 @@ static bool reliable_cancel_capable(const struct device *dev)
10861086
if (single_channel_alarm_capable(dev)) {
10871087
return true;
10881088
}
1089+
#endif
1090+
#ifdef CONFIG_COUNTER_MCUX_RTC
1091+
if (single_channel_alarm_capable(dev)) {
1092+
return true;
1093+
}
10891094
#endif
10901095
return false;
10911096
}

0 commit comments

Comments
 (0)