mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
use sysPrintf
This commit is contained in:
parent
7a611976fb
commit
416363f9d9
@ -1 +1 @@
|
||||
Subproject commit 217f0178af36d344c90dbf3c9871c9debeeeca96
|
||||
Subproject commit 3feb60f428ff29230eda3f7020a2f7854e277df0
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user