MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / linkState

Function linkState

src/dolphin/src/eth/eth.c:810–819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

808}
809
810static BOOL linkState(void) {
811 u8 nways;
812
813 nways = readcmd(0x0031);
814 if ((nways & 1) != 0 || (nways & 2) != 0) {
815 return TRUE;
816 }
817
818 return FALSE;
819}
820
821static BOOL ETHGetLinkState(void) {
822 BOOL ret;

Callers 2

ETHGetLinkStateFunction · 0.85
linkStateAsyncMainFunction · 0.85

Calls 1

readcmdFunction · 0.85

Tested by

no test coverage detected