mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
fix flash display
This commit is contained in:
parent
1cc7703d7e
commit
8c9d281be4
@ -216,7 +216,7 @@ void STM32_Code_flashHandler(void) {
|
||||
printf("\r\n");
|
||||
printf("----[code in flash]-----\r\n");
|
||||
for (int i = 0; i < strGetSize(codeHeap.content); i++) {
|
||||
if ('\n' == codeHeap.content[i]) {
|
||||
if ('\n' == codeHeap.content[i] && '\r' != codeHeap.content[i -1]) {
|
||||
fputc('\r', (FILE*)!NULL);
|
||||
}
|
||||
fputc(codeHeap.content[i], (FILE*)!NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user