1
0
Fork 0
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:
Brian Fiete 2024-12-24 13:56:39 -08:00
parent db449ed5a5
commit d5024964c8
2 changed files with 17 additions and 2 deletions

View file

@ -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;