Fix issue with speed example - does not compile on master branch

This commit is contained in:
Jakub Wlodek
2024-09-02 15:16:06 -04:00
parent 1d81e5cd30
commit 8fc6b40656

View File

@@ -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) ;