summaryrefslogtreecommitdiff
path: root/components/drivers/tty/include/tty.h
diff options
context:
space:
mode:
authorShell <[email protected]>2023-06-28 09:11:17 +0800
committerGitHub <[email protected]>2023-06-28 09:11:17 +0800
commitb66514686a8745ee36a4384dec044d3ae31d7dcb (patch)
treec7b4a68c33fc2fa7ca0dac5bc524797a546717e2 /components/drivers/tty/include/tty.h
parentcb03b8c83422372e1392e729d0989fd15fb902ae (diff)
[components/tty] fix bug on foreground app switch (#7726)
Diffstat (limited to 'components/drivers/tty/include/tty.h')
-rw-r--r--components/drivers/tty/include/tty.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/drivers/tty/include/tty.h b/components/drivers/tty/include/tty.h
index 298b033373..1c0fa09ca3 100644
--- a/components/drivers/tty/include/tty.h
+++ b/components/drivers/tty/include/tty.h
@@ -179,8 +179,8 @@ enum
#define TTY_DRIVER_TYPE_SYSTEM 0x0001
#define TTY_DRIVER_TYPE_CONSOLE 0x0002
#define TTY_DRIVER_TYPE_SERIAL 0x0003
-#define TTY_DRIVER_TYPE_PTY 0x0004
-#define TTY_DRIVER_TYPE_SCC 0x0005 /* scc driver */
+#define TTY_DRIVER_TYPE_PTY 0x0004
+#define TTY_DRIVER_TYPE_SCC 0x0005 /* scc driver */
#define TTY_DRIVER_TYPE_SYSCONS 0x0006
/* tty magic number */