MCPcopy Create free account
hub / github.com/WiringPi/WiringPi / setupCheck

Function setupCheck

wiringPi/wiringPi.c:945–953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

943 */
944
945static void setupCheck (const char *fName)
946{
947 if (!wiringPiSetuped)
948 {
949 fprintf (stderr, "%s: You have not called one of the wiringPiSetup\n"
950 " functions, so I'm aborting your program before it crashes anyway.\n", fName) ;
951 exit (EXIT_FAILURE) ;
952 }
953}
954
955/*
956 * gpioMemCheck:

Callers 5

pinModeAltFunction · 0.85
pinModeFunction · 0.85
pullUpDnControlFunction · 0.85
pwmWriteFunction · 0.85
pwmToneWriteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected