fix: READ_CAPACITY command for 12 bytes CDB SCSI device.
[lunaix-os.git] / lunaix-os / kernel / lxconsole.c
index e58e3f108fb7de8da6504ad617e1f1911f00afea..785330a4aa4b5d78b4ea9e06421281b55b48ea2f 100644 (file)
@@ -69,7 +69,7 @@ __tty_read(struct device* dev, void* buf, size_t offset, size_t len)
         //  When a key is arrived, one of the processes will win the race and
         //  swallow it (advancing the key buffer pointer)
         if (!kbd_recv_key(&keyevent)) {
-            sched_yield();
+            sched_yieldk();
             continue;
         }
         if (!(keyevent.state & KBD_KEY_FPRESSED)) {