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

Function usingGpioMemCheck

wiringPi/wiringPi.c:962–970  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

960 */
961
962static void usingGpioMemCheck (const char *what)
963{
964 if (usingGpioMem)
965 {
966 fprintf (stderr, "%s: Unable to do this when using /dev/gpiomem. Try sudo?\n", what) ;
967 exit (EXIT_FAILURE) ;
968 }
969
970}
971
972
973void PrintSystemStdErr () {

Callers 2

pinModeFunction · 0.85
pwmWriteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected