Browse Source

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 months ago
committed by GitHub
parent
commit
f0c8991e3a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/speed.c

+ 1
- 1
examples/speed.c View File

@@ -93,7 +93,7 @@ int main (void)
// character device ABI // character device ABI


printf ("\ncharacter device ABI method: (%8d iterations)\n", SLOW_COUNT) ; printf ("\ncharacter device ABI method: (%8d iterations)\n", SLOW_COUNT) ;
wiringPiSetupGpioDevice () ;
wiringPiSetupGpioDevice (WPI_PIN_BCM) ;
pinMode (17, OUTPUT) ; pinMode (17, OUTPUT) ;
speedTest (17, SLOW_COUNT) ; speedTest (17, SLOW_COUNT) ;




Loading…
Cancel
Save