make green and red leds similarly controlled
[pulsecounter.git] / Pulsecounter-Prog.c
index 266edb73fd12e66c81504035a7d1e9b5ebc0a5a0..62efd73b3e0daa1bb0fa9b26f04bca0238fc0f02 100644 (file)
@@ -11,9 +11,11 @@ void main() {
 }\r
 \r
 static void buttonHandler(void) {\r
-    Hal_ledOn();\r
+    Hal_greenLedOn();\r
+    Hal_redLedOn();\r
     Hal_delay(500);\r
-    Hal_ledOff();\r
+    Hal_greenLedOff();\r
+    Hal_redLedOff();\r
     Pulsecounter_event3_indicate();\r
 }\r
 \r