Browse Source

#210

pull/228/head
mstroh76 6 months ago
parent
commit
e20bda7a12
2 changed files with 0 additions and 32 deletions
  1. +0
    -30
      wiringPi/wiringPi.c
  2. +0
    -2
      wiringPi/wiringPi.h

+ 0
- 30
wiringPi/wiringPi.c View File

@@ -544,36 +544,6 @@ static int physToGpioR2 [64] =
-1, -1, -1, -1,
} ; } ;


const int _5v=-1;
const int _0v=-1;
const int _3v=-1;


static int physToSysGPIOPi5 [41] =
{
-1, // 0
_3v, _5v, // 1, 2
401, _5v,
402, _0v,
403, 413,
_0v, 414,
416, 417,
426, _0v,
421, 422,
_3v, 423,
409, _0v,
408, 424,
410, 407,
_0v, 406,
399, 400,
404, _0v,
405, 411,
412, _0v,
418, 415,
425, 419,
_0v, 420, //39, 40
} ;



int piBoard() { int piBoard() {
if (RaspberryPiModel<0) { //need to detect pi model if (RaspberryPiModel<0) { //need to detect pi model


+ 0
- 2
wiringPi/wiringPi.h View File

@@ -207,8 +207,6 @@ extern int wiringPiFailure (int fatal, const char *message, ...) ;
extern struct wiringPiNodeStruct *wiringPiFindNode (int pin) ; extern struct wiringPiNodeStruct *wiringPiFindNode (int pin) ;
extern struct wiringPiNodeStruct *wiringPiNewNode (int pinBase, int numPins) ; extern struct wiringPiNodeStruct *wiringPiNewNode (int pinBase, int numPins) ;


extern int GPIOToSysFS(const int pin) ;

extern void wiringPiVersion (int *major, int *minor) ; extern void wiringPiVersion (int *major, int *minor) ;
extern int wiringPiGlobalMemoryAccess(void); //Interface 3.3 extern int wiringPiGlobalMemoryAccess(void); //Interface 3.3
extern int wiringPiUserLevelAccess (void) ; extern int wiringPiUserLevelAccess (void) ;


Loading…
Cancel
Save