MCPcopy Create free account
hub / github.com/360Controller/360Controller / SerialDisconnect

Method SerialDisconnect

360Controller/_60Controller.cpp:1059–1068  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1057}
1058
1059void Xbox360Peripheral::SerialDisconnect(void)
1060{
1061 if (serialHandler != NULL)
1062 {
1063 // Hope it's okay to terminate twice...
1064 serialHandler->terminate(kIOServiceRequired | kIOServiceSynchronous);
1065 serialHandler->release();
1066 serialHandler = NULL;
1067 }
1068}
1069
1070void Xbox360Peripheral::SerialMessage(IOBufferMemoryDescriptor *data, size_t length)
1071{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected