diff --git a/src/package/pikascript/pikascript-core b/src/package/pikascript/pikascript-core index 217f0178a..3feb60f42 160000 --- a/src/package/pikascript/pikascript-core +++ b/src/package/pikascript/pikascript-core @@ -1 +1 @@ -Subproject commit 217f0178af36d344c90dbf3c9871c9debeeeca96 +Subproject commit 3feb60f428ff29230eda3f7020a2f7854e277df0 diff --git a/src/package/pikascript/pikascript-lib/PikaStdLib/PikaStdLib_MemChecker.c b/src/package/pikascript/pikascript-lib/PikaStdLib/PikaStdLib_MemChecker.c index a85ae1be8..223de7fa8 100644 --- a/src/package/pikascript/pikascript-lib/PikaStdLib/PikaStdLib_MemChecker.c +++ b/src/package/pikascript/pikascript-lib/PikaStdLib/PikaStdLib_MemChecker.c @@ -3,12 +3,12 @@ void PikaStdLib_MemChecker_max(PikaObj *self) { - printf("%0.2f kB\r\n", pikaMemMax() / 1024.0); + obj_sysPrintf(self, "%0.2f kB", pikaMemMax() / 1024.0); } void PikaStdLib_MemChecker_now(PikaObj *self) { - printf("%0.2f kB\r\n", pikaMemNow() / 1024.0); + obj_sysPrintf(self, "%0.2f kB", pikaMemNow() / 1024.0); } void PikaStdLib_MemChecker_resetMax(PikaObj *self)