make ps2 not do led stuff, it brokie

This commit is contained in:
Murphy 2025-05-06 12:36:56 -04:00
parent 5aee4fa666
commit a1ed03f222
Signed by: freya
GPG key ID: 9FBC6FFD6D2DBF17
2 changed files with 2 additions and 4 deletions

View file

@ -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);

View file

@ -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);
}
}