make ps2 not do led stuff, it brokie
This commit is contained in:
parent
5aee4fa666
commit
a1ed03f222
2 changed files with 2 additions and 4 deletions
|
@ -272,7 +272,7 @@ int ps2_set_leds(uint8_t state)
|
|||
uint8_t result;
|
||||
|
||||
if (!(has_mouse || has_kbd))
|
||||
return 1;
|
||||
return 1;
|
||||
|
||||
ps2ctrl_out_cmd(0xED);
|
||||
ps2ctrl_out_data(state);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue