This commit is contained in:
mstroh76
2024-04-28 17:40:19 +02:00
parent e728c9dfa3
commit e20bda7a12
2 changed files with 0 additions and 32 deletions

View File

@@ -544,36 +544,6 @@ static int physToGpioR2 [64] =
-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() {
if (RaspberryPiModel<0) { //need to detect pi model

View File

@@ -207,8 +207,6 @@ 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 wiringPiGlobalMemoryAccess(void); //Interface 3.3
extern int wiringPiUserLevelAccess (void) ;