make cross-instance pause work without breaking local wifi connections

This commit is contained in:
Arisotura
2023-03-11 23:07:29 +01:00
parent 6b385cab4e
commit e14c06401e
4 changed files with 69 additions and 45 deletions

View File

@ -42,9 +42,11 @@ void SetMPRecvTimeout(int timeout);
void MPBegin();
void MPEnd();
void SetActive(bool active);
void ProcessCommands();
bool SendCommand(u16 recipients, u16 command, u16 len, void* data);
bool CommandReceived(u16 command);
bool SendCommandU8(u16 recipients, u16 command, u8 arg);
int SendMPPacket(u8* data, int len, u64 timestamp);
int RecvMPPacket(u8* data, u64* timestamp);