From e287578c46a4204cea0753a6d55437bf0764422b Mon Sep 17 00:00:00 2001 From: starnakin Date: Sun, 8 Sep 2024 20:08:29 +0200 Subject: [PATCH] clean: add comment --- src/terminal/get.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terminal/get.c b/src/terminal/get.c index 4a7279f..eb927dc 100644 --- a/src/terminal/get.c +++ b/src/terminal/get.c @@ -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;