Skip to content

Commit a4c923d

Browse files
committed
systimer tests: explicitly initialise SysTimer with lpticker
Now SysTimer needs to be intialised with ticker explicitly set. Note that lp ticker is still needed for this test as per official requirement. Tickless from us ticker is only a temporary workaround for latency issue on some targets.
1 parent 4c4d78c commit a4c923d

File tree

1 file changed

+1
-1
lines changed
  • TESTS/mbedmicro-rtos-mbed/systimer

1 file changed

+1
-1
lines changed

TESTS/mbedmicro-rtos-mbed/systimer/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class SysTimerTest: public rtos::internal::SysTimer {
5353

5454
public:
5555
SysTimerTest() :
56-
SysTimer(), _sem(0, 1)
56+
SysTimer(get_lp_ticker_data()), _sem(0, 1)
5757
{
5858
}
5959

0 commit comments

Comments
 (0)