From e20bda7a121cf76dd1b12e498c6113c56d0d58cb Mon Sep 17 00:00:00 2001 From: mstroh76 Date: Sun, 28 Apr 2024 17:40:19 +0200 Subject: [PATCH] #210 --- wiringPi/wiringPi.c | 30 ------------------------------ wiringPi/wiringPi.h | 2 -- 2 files changed, 32 deletions(-) diff --git a/wiringPi/wiringPi.c b/wiringPi/wiringPi.c index c083e80..ae98547 100644 --- a/wiringPi/wiringPi.c +++ b/wiringPi/wiringPi.c @@ -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 diff --git a/wiringPi/wiringPi.h b/wiringPi/wiringPi.h index 81c4001..195ac36 100644 --- a/wiringPi/wiringPi.h +++ b/wiringPi/wiringPi.h @@ -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) ;