X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Farmv7m_trace.c;h=6170119d9effc698daca348233bac183e70a48b8;hb=57962f4d1c2db12dffa03c7357f5d7e0d8f71fb8;hp=62f0f8e61db7a1a47de4877b509e323d50c496d6;hpb=9f93cca42738cf0c5060296ef5899fee53fc642f;p=openocd.git diff --git a/src/target/armv7m_trace.c b/src/target/armv7m_trace.c index 62f0f8e61d..6170119d9e 100644 --- a/src/target/armv7m_trace.c +++ b/src/target/armv7m_trace.c @@ -116,7 +116,8 @@ int armv7m_trace_tpiu_config(struct target *target) return retval; if (trace_config->config_type == TRACE_CONFIG_TYPE_INTERNAL) - target_register_timer_callback(armv7m_poll_trace, 1, 1, target); + target_register_timer_callback(armv7m_poll_trace, 1, + TARGET_TIMER_TYPE_PERIODIC, target); target_call_event_callbacks(target, TARGET_EVENT_TRACE_CONFIG);