diff options
author | Christian Cunningham <cc@localhost> | 2022-02-13 13:01:59 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-02-13 13:01:59 -0700 |
commit | 91f828411617247abde3f0ace64389bb2050f794 (patch) | |
tree | 1206eb445ccae6157eecb5c9db3164ca263ade66 /src/cpu | |
parent | a3b9723b28d24faffab2d0c770cd355939746e63 (diff) |
Unhook old mutex handles
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/irq.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/cpu/irq.c b/src/cpu/irq.c index 6d9a02a..0488231 100644 --- a/src/cpu/irq.c +++ b/src/cpu/irq.c @@ -80,7 +80,7 @@ unsigned long c_fiq_handler(void) } if (counter % 0x30 == 0) { return 1; - } + } return 0; } return 0; @@ -92,12 +92,6 @@ void handle_data(unsigned char data) if (data == 0x0D) { // Backspace Case } else if (data == 0x08 || data == 0x7F) { - // Lock Case - } else if (data == 0x6C) { - lock_mutex(&exe_cnt_m, SYS_PID); - // Release Case - } else if (data == 0x72) { - release_mutex(&exe_cnt_m, SYS_PID); } else if (data == 0x61) { add_thread(uart_scheduler, 0, 2); } else if (data == 0x62) { |