🆕 pwd命令

This commit is contained in:
fslongjin
2022-05-24 16:37:28 +08:00
parent afeca18206
commit 8246c1c9e2
9 changed files with 474 additions and 73 deletions

View File

@ -119,6 +119,7 @@ void auto_newline()
if (pos.x > pos.max_x)
{
#ifdef DEBUG
uart_send(COM1, '\r');
uart_send(COM1, '\n');
#endif
pos.x = 0;
@ -127,6 +128,7 @@ void auto_newline()
if (pos.y > pos.max_y)
{
#ifdef DEBUG
uart_send(COM1, '\r');
uart_send(COM1, '\n');
#endif
pos.y = pos.max_y;