aboutsummaryrefslogtreecommitdiff
path: root/src/target/armv7m_trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/armv7m_trace.c')
-rw-r--r--src/target/armv7m_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/armv7m_trace.c b/src/target/armv7m_trace.c
index 32b48a7..adfef2e 100644
--- a/src/target/armv7m_trace.c
+++ b/src/target/armv7m_trace.c
@@ -87,7 +87,7 @@ int armv7m_trace_tpiu_config(struct target *target)
{
struct armv7m_common *armv7m = target_to_armv7m(target);
struct armv7m_trace_config *trace_config = &armv7m->trace_config;
- uint16_t prescaler;
+ uint16_t prescaler = TPIU_ACPR_MAX_SWOSCALER + 1;
int retval;
target_unregister_timer_callback(armv7m_poll_trace, target);