This website works better with JavaScript.
首頁
說明
登入
heuzef
/
WiringPi
镜像来自
https://github.com/WiringPi/WiringPi.git
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
9
Wiki
Activity
瀏覽代碼
set WPI_MODE_GPIO as a default mode also for CM4 (
#92
)
pull/111/head
fanoush
3 年之前
committed by
GitHub
父節點
22fac72e1a
當前提交
10be9486ff
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID:
4AEE18F83AFDEB23
共有
1 個文件被更改
,包括
2 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
wiringPi/wiringPi.c
+ 2
- 1
wiringPi/wiringPi.c
查看文件
@@ -2284,7 +2284,8 @@ int wiringPiSetup (void)
if ((model == PI_MODEL_CM) ||
(model == PI_MODEL_CM3) ||
(model == PI_MODEL_CM3P))
(model == PI_MODEL_CM3P) ||
(model == PI_MODEL_CM4))
wiringPiMode = WPI_MODE_GPIO ;
else
wiringPiMode = WPI_MODE_PINS ;
Write
Preview
Loading…
取消
儲存