mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 22:12:25 +00:00
ReadChar() calls now Global.Sleep
This commit is contained in:
parent
4a4744082b
commit
8bd4438678
1 changed files with 3 additions and 1 deletions
|
|
@ -260,7 +260,9 @@ namespace Cosmos.Hardware {
|
|||
CheckInit();
|
||||
char xResult = '\0';
|
||||
while (mBuffer.Count == 0 || !GetCharValue(mBuffer.Dequeue(), out xResult))
|
||||
;
|
||||
{
|
||||
Global.Sleep(10); //ToDo optimize value
|
||||
}
|
||||
return xResult;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue