aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2023-03-26 14:53:34 +0200
committerJF <JF002@users.noreply.github.com>2023-05-18 19:58:09 +0200
commit611e0ff7684818949f7f18546b540ff55de9b8ce (patch)
tree250ed0efe624fdc7992b27d6ab40ed5092d6bc87 /src/main.h
parent1911e2d9285cb5b0a6ecd3bf3de864783f2b0e3e (diff)
Enable malloc error and stack overflow error detection in FreeRTOS. Count them and display them in the SystemInfo app.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 2ff32b8f..4475dc8b 100644
--- a/src/main.h
+++ b/src/main.h
@@ -5,4 +5,7 @@
#include <nrfx_gpiote.h>
void nrfx_gpiote_evt_handler(nrfx_gpiote_pin_t pin, nrf_gpiote_polarity_t action);
-void DebounceTimerCallback(TimerHandle_t xTimer); \ No newline at end of file
+void DebounceTimerCallback(TimerHandle_t xTimer);
+
+extern int mallocFailedCount;
+extern int stackOverflowCount; \ No newline at end of file