浏览代码

#15

pull/188/head
mstroh76 9 个月前
父节点
当前提交
f01ff41b3a
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. +1
    -2
      wiringPi/wiringPi.c

+ 1
- 2
wiringPi/wiringPi.c 查看文件

@@ -1104,7 +1104,7 @@ void piBoardId (int *model, int *rev, int *mem, int *maker, int *warranty)
else { *model = 0 ; *rev = 0 ; *mem = 0 ; *maker = 0 ; }
}

RaspberryPiModel = model;
RaspberryPiModel = *model;
}


@@ -2361,7 +2361,6 @@ int wiringPiSetup (void)
" hardware then it most certianly won't work\n"
" Try running with sudo?\n", strerror (errno)) ;
}
}

if (PI_MODEL_5 == model) {
return wiringPiFailure (WPI_ALMOST, "wiringPiSetup: Raspberry Pi 5 not supported.\n"


正在加载...
取消
保存