From 960b11200094ef653fcb2294917cbe49b6fcc73d Mon Sep 17 00:00:00 2001 From: mstroh Date: Sat, 17 Jan 2026 15:00:49 +0100 Subject: [PATCH] Adjust for Pi1/Zero test hardware --- wiringPi/gtest/test_isr_rising2.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wiringPi/gtest/test_isr_rising2.cpp b/wiringPi/gtest/test_isr_rising2.cpp index d23b5dd..1ac98db 100644 --- a/wiringPi/gtest/test_isr_rising2.cpp +++ b/wiringPi/gtest/test_isr_rising2.cpp @@ -4,7 +4,7 @@ #define TRIGGER_PIN 0 // BCM 17 #define LISTENER_PIN 1 // BCM 18 -#define ANOTHER_LISTENER_PIN 6 // BCM 25 +#define ANOTHER_LISTENER_PIN 11 // BCM 7 struct counters { uint32_t *primary; @@ -86,10 +86,9 @@ TEST_F(ISRRising2, ThreeTriggers) { delay(10); count = 0; for (int i = 0; i < 6; ++i) { - delay(20); digitalWrite(TRIGGER_PIN, i % 2); + delay(20); } - delay(20); EXPECT_EQ(count, 3u); }