From 2bf7a471b411b8a27b8bc2fb90952017b92c3db7 Mon Sep 17 00:00:00 2001 From: Vladimir Garistov Date: Sun, 1 Nov 2020 15:18:03 +0000 Subject: [PATCH] Update external_interrupt.ino --- external_interrupt/external_interrupt.ino | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/external_interrupt/external_interrupt.ino b/external_interrupt/external_interrupt.ino index 597aa50..1d8b71f 100644 --- a/external_interrupt/external_interrupt.ino +++ b/external_interrupt/external_interrupt.ino @@ -32,11 +32,11 @@ void button_pressed_ISR(void) led_state = 0; digitalWrite(LED_PIN, LOW); } - else - { - led_state = 1; - digitalWrite(LED_PIN, HIGH); - } + else + { + led_state = 1; + digitalWrite(LED_PIN, HIGH); + } } void slow_computation(void) -- 2.39.5