Skip to content

Commit

Permalink
systimer tests: explicitly initialise SysTimer with lpticker
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
LDong-Arm committed May 16, 2019
1 parent 4c4d78c commit a4c923d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TESTS/mbedmicro-rtos-mbed/systimer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class SysTimerTest: public rtos::internal::SysTimer {

public:
SysTimerTest() :
SysTimer(), _sem(0, 1)
SysTimer(get_lp_ticker_data()), _sem(0, 1)
{
}

Expand Down

0 comments on commit a4c923d

Please sign in to comment.