clean: add comment

This commit is contained in:
starnakin 2024-09-08 20:08:29 +02:00
parent d3aa5af23a
commit e287578c46

View File

@ -14,7 +14,7 @@ uint8_t terminal_getkey(void)
scan_code = inb(KEYBOARD_PORT);
if (scan_code == 0x3A || scan_code == 0x58) {
caps_mode = !caps_mode;
outb(0xED, (caps_mode << 2));
outb(0xED, (caps_mode << 2)); // turn on/off capslock led
}
else if (scan_code == KEY_RIGHT_SHIFT || scan_code == KET_LEFT_SHIFT)
caps_mode = true;