From 1531b7191662461cb1c896aa4c88883eec5f0107 Mon Sep 17 00:00:00 2001 From: LeoDJ Date: Thu, 22 May 2025 23:18:38 +0200 Subject: [PATCH] Fix SDI printf not working _write now returns the number of bytes written --- EVT/EXAM/SRC/Debug/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EVT/EXAM/SRC/Debug/debug.c b/EVT/EXAM/SRC/Debug/debug.c index 9607c526..ece7ac9a 100644 --- a/EVT/EXAM/SRC/Debug/debug.c +++ b/EVT/EXAM/SRC/Debug/debug.c @@ -337,7 +337,7 @@ int _write(int fd, char *buf, int size) #endif - return writeSize; + return size; } /*********************************************************************