From 8fc6b40656281e1c6b8da463f8a2e2a41f53b981 Mon Sep 17 00:00:00 2001 From: Jakub Wlodek Date: Mon, 2 Sep 2024 15:16:06 -0400 Subject: [PATCH] Fix issue with speed example - does not compile on master branch --- examples/speed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/speed.c b/examples/speed.c index 19b2b06..23a3a50 100644 --- a/examples/speed.c +++ b/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) ;