aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/libcommon/source/stdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/libcommon/source/stdio.c')
-rw-r--r--firmware/libcommon/source/stdio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/libcommon/source/stdio.c b/firmware/libcommon/source/stdio.c
index 2183c7f..32bd617 100644
--- a/firmware/libcommon/source/stdio.c
+++ b/firmware/libcommon/source/stdio.c
@@ -54,7 +54,7 @@
//------------------------------------------------------------------------------
// Maximum string size allowed (in bytes).
-#define MAX_STRING_SIZE 100
+#define MAX_STRING_SIZE 512
//------------------------------------------------------------------------------
// Global Variables
@@ -429,7 +429,6 @@ signed int vfprintf(FILE *pStream, const char *pFormat, va_list ap)
if (vsprintf(pStr, pFormat, ap) >= MAX_STRING_SIZE) {
fputs(pError, stderr);
- while (1); // Increase MAX_STRING_SIZE
}
// Display string