arm: cortex_m: fix arguments to dwt_init() function
Fix the call to z_arm_dwt_init(), remove the NULL argument. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
53b104d461
commit
191c3088af
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ static inline uint64_t z_arm_dwt_freq_get(void)
|
|||
|
||||
if (!dwt_frequency) {
|
||||
|
||||
z_arm_dwt_init(NULL);
|
||||
z_arm_dwt_init();
|
||||
|
||||
uint32_t cyc_start = k_cycle_get_32();
|
||||
uint64_t dwt_start = z_arm_dwt_get_cycles();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue