瀏覽代碼
Merge pull request #277 from jwlodek/fix-speed-example
Fix issue with speed example - does not compile on master branch
pull/283/head
mstroh76
2 月之前
committed by
GitHub
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: B5690EEEBB952194
共有
1 個檔案被更改,包括
1 行新增 和
1 行删除
-
examples/speed.c
|
|
@@ -93,7 +93,7 @@ int main (void) |
|
|
|
// character device ABI |
|
|
|
|
|
|
|
printf ("\ncharacter device ABI method: (%8d iterations)\n", SLOW_COUNT) ; |
|
|
|
wiringPiSetupGpioDevice () ; |
|
|
|
wiringPiSetupGpioDevice (WPI_PIN_BCM) ; |
|
|
|
pinMode (17, OUTPUT) ; |
|
|
|
speedTest (17, SLOW_COUNT) ; |
|
|
|
|
|
|
|