mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Improve BeefCon cpu usage
This commit is contained in:
parent
db449ed5a5
commit
d5024964c8
2 changed files with 17 additions and 2 deletions
|
@ -48,7 +48,7 @@ class Program
|
|||
{
|
||||
while (true)
|
||||
{
|
||||
switch (mPipe.ReadMessage(-1))
|
||||
switch (mPipe.ReadMessage(20))
|
||||
{
|
||||
case .Ok(let msg):
|
||||
uint8* ptr = msg.Ptr + 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue