This commit is contained in:
TOKISAKIX\21168
2023-12-11 21:54:53 +08:00
parent 910ee11168
commit e720a0dfc2
57 changed files with 2621 additions and 2152 deletions

View File

@@ -395,7 +395,7 @@ void on_timer() {
void trap_handler(void *epc, unsigned int cause) {
if (cause == 0x80000007) {
on_timer();
} else {
} else if (cause == 0x8000000B){
unsigned int ch = *UART_RECV;
*UART_SEND = ch;
on_input(ch);