This commit is contained in:
mstroh76
2024-01-27 16:41:46 +01:00
parent d1df517fa3
commit bde772c4b0
2 changed files with 3 additions and 1 deletions

View File

@@ -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 ;

View File

@@ -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) ;