Pārlūkot izejas kodu
Merge pull request #277 from jwlodek/fix-speed-example
Fix issue with speed example - does not compile on master branch
pull/283/head
mstroh76
pirms 2 mēnešiem
committed by
GitHub
vecāks
revīzija
f0c8991e3a
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: B5690EEEBB952194
1 mainītis faili ar
1 papildinājumiem un
1 dzēšanām
-
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) ; |
|
|
|
|
|
|
|