From 6ee2e51433e0d46d0a8425a869fc5b41f15d1d18 Mon Sep 17 00:00:00 2001
From: Karan Saxena <karan@ti.com>
Date: Fri, 29 May 2020 10:03:12 +0530
Subject: [PATCH 4/4] Debug: add debug loop

Signed-off-by: Karan Saxena <karan@ti.com>
---
 mcuss_demos/profiling/can/main_tirtos.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/mcuss_demos/profiling/can/main_tirtos.c b/mcuss_demos/profiling/can/main_tirtos.c
index f59c6ab..69a86f5 100644
--- a/mcuss_demos/profiling/can/main_tirtos.c
+++ b/mcuss_demos/profiling/can/main_tirtos.c
@@ -184,8 +184,13 @@ int32_t local_moduleClockEnable(uint32_t moduleId)
     return retVal;
 }
 
+volatile uint32_t qwerty = 0xDEADBEEF;
+
 int main(void)
 {
+    /* Debug loop */
+    while(qwerty);
+
     /* Enable MCAN clocks */
     local_moduleClockEnable(TISCI_DEV_MCAN0);
     local_moduleClockEnable(TISCI_DEV_MCAN4);
-- 
2.26.2

