瀏覽代碼

#210

pull/228/head
mstroh76 6 月之前
父節點
當前提交
e20bda7a12
共有 2 個檔案被更改,包括 0 行新增32 行删除
  1. +0
    -30
      wiringPi/wiringPi.c
  2. +0
    -2
      wiringPi/wiringPi.h

+ 0
- 30
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


+ 0
- 2
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) ;


Loading…
取消
儲存