Skip to content

Commit 6968719

Browse files
committed
tests-mbed_hal-rtc patch to match IAR compilation issue
1 parent 9a8c9e2 commit 6968719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TESTS/mbed_hal/rtc/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ void rtc_write_read_test()
200200
{
201201
RealTimeClock::init();
202202

203-
for (auto init_val = RealTimeClock::time_point(100s); init_val < RealTimeClock::time_point(400s); init_val += 100s) {
203+
for (auto init_val = RealTimeClock::time_point(seconds(100)); init_val < RealTimeClock::time_point(400s); init_val += 100s) {
204204
core_util_critical_section_enter();
205205

206206
RealTimeClock::write(init_val);

0 commit comments

Comments
 (0)