This commit is contained in:
@@ -494,7 +494,7 @@ static int physToSysGPIOPi5 [41] =
|
||||
_0v, 420, //39, 40
|
||||
} ;
|
||||
|
||||
static int GPIOToSysFS(const int pin) {
|
||||
int GPIOToSysFS(const int pin) {
|
||||
int sysfspin = pin;
|
||||
if (RaspberryPiModel<0) { //need to detect pi model
|
||||
int model, rev, mem, maker, overVolted ;
|
||||
|
||||
@@ -203,6 +203,8 @@ extern int wiringPiFailure (int fatal, const char *message, ...) ;
|
||||
extern struct wiringPiNodeStruct *wiringPiFindNode (int pin) ;
|
||||
extern struct wiringPiNodeStruct *wiringPiNewNode (int pinBase, int numPins) ;
|
||||
|
||||
extern int GPIOToSysFS(const int pin) ;
|
||||
|
||||
extern void wiringPiVersion (int *major, int *minor) ;
|
||||
extern int wiringPiSetup (void) ;
|
||||
extern int wiringPiSetupSys (void) ;
|
||||
|
||||
Reference in New Issue
Block a user