From 5e75beff3ff04cf9de1255b577c7b4a662eda808 Mon Sep 17 00:00:00 2001 From: geeksville Date: Fri, 24 Apr 2020 08:06:29 -0700 Subject: [PATCH] don't block but queue log messages for the ICE (and eventual crash reports) --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 37bf0b14d..0737e4df5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -211,6 +211,10 @@ static MeshRadio *radio = NULL; void setup() { +#ifdef USE_SEGGER + SEGGER_RTT_ConfigUpBuffer(0, NULL, NULL, 0, SEGGER_RTT_MODE_NO_BLOCK_TRIM); +#endif + // Debug #ifdef DEBUG_PORT DEBUG_PORT.begin(SERIAL_BAUD);