diff options
| author | xqyjlj <[email protected]> | 2023-10-25 20:31:25 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-25 20:31:25 +0800 |
| commit | 3283f54c7a0444b2e51ec79a4da57e7871528f05 (patch) | |
| tree | e4bcd748ad2362f16d0dea5c5da62922de466999 /components/drivers/tty/include | |
| parent | 91fc52df3635d5dda8285616420f08efa79cea04 (diff) | |
🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)
Signed-off-by: Shell <[email protected]>
Co-authored-by: Shell <[email protected]>
Diffstat (limited to 'components/drivers/tty/include')
| -rw-r--r-- | components/drivers/tty/include/tty.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/drivers/tty/include/tty.h b/components/drivers/tty/include/tty.h index 1c0fa09ca3..79e30b6f51 100644 --- a/components/drivers/tty/include/tty.h +++ b/components/drivers/tty/include/tty.h @@ -166,6 +166,7 @@ struct tty_struct #define RT_TTY_BUF 1024 rt_list_t tty_drivers; + struct rt_spinlock spinlock; }; enum |
