diff options
author | Freya Murphy <freya@freyacat.org> | 2025-05-06 12:36:56 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-05-06 12:37:19 -0400 |
commit | a1ed03f222f3e5f5a7a2232ace9785d204228f00 (patch) | |
tree | 96c052cc9638cdf4271603ee9b43928dc8db8649 /kernel/lib | |
parent | init improvements (diff) | |
download | comus-a1ed03f222f3e5f5a7a2232ace9785d204228f00.tar.gz comus-a1ed03f222f3e5f5a7a2232ace9785d204228f00.tar.bz2 comus-a1ed03f222f3e5f5a7a2232ace9785d204228f00.zip |
make ps2 not do led stuff, it brokie
Diffstat (limited to '')
-rw-r--r-- | kernel/lib/panic.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/lib/panic.c b/kernel/lib/panic.c index 35ea0b1..99936c1 100644 --- a/kernel/lib/panic.c +++ b/kernel/lib/panic.c @@ -23,12 +23,10 @@ __attribute__((noreturn)) void __panic(unsigned int line, const char *file, __attribute__((noreturn)) void fatal_loop(void) { - while(1) { + while (1) { spkr_play_tone(1000); - ps2_set_leds(0x4); kspin_milliseconds(200); spkr_quiet(); - ps2_set_leds(0x0); kspin_milliseconds(800); } } |