aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp/trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/psp/trace.h')
-rw-r--r--backends/platform/psp/trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/psp/trace.h b/backends/platform/psp/trace.h
index 8c113bef81..5bb861e32d 100644
--- a/backends/platform/psp/trace.h
+++ b/backends/platform/psp/trace.h
@@ -120,7 +120,7 @@ public:
};
/* We don't need anything but this line at the beginning of each function to debug function calls */
- #define DEBUG_ENTER_FUNC() PSPStackDebugFuncs(__PRETTY_FUNCTION__)
+ #define DEBUG_ENTER_FUNC() volatile PSPStackDebugFuncs __foo(__PRETTY_FUNCTION__)
#else /* Don't debug function calls */
#define DEBUG_ENTER_FUNC()
#endif /* __PSP_DEBUG_FUNCS__ */