use sysPrintf

This commit is contained in:
lyon 2021-08-24 18:27:34 +08:00
parent 7a611976fb
commit 416363f9d9
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 217f0178af36d344c90dbf3c9871c9debeeeca96
Subproject commit 3feb60f428ff29230eda3f7020a2f7854e277df0

View File

@ -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)