From b5e0708b09995cb778563674f342a88c05444796 Mon Sep 17 00:00:00 2001
From: doryan <sagiev2015@yandex.ru>
Date: Thu, 24 Apr 2025 22:40:41 +0400
Subject: [PATCH] feat: remove interrupt configuration in constructor

---
 src/lib.rs | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/lib.rs b/src/lib.rs
index 842482d..3c6b82d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -4,7 +4,6 @@ use core::marker::PhantomData;
 
 use arduino_hal::{
     delay_us,
-    pac::EXINT,
     port::{
         mode::{Input, PullUp},
         Pin, PinOps,
@@ -42,10 +41,7 @@ where
     P: PinOps + StaticPinOps,
 {
     #[inline]
-    pub fn new(_pin: Pin<Input<PullUp>, P>, exint: &EXINT) -> Self {
-        exint.eimsk.write(|w| w.bits(1 << 1));
-        exint.eicra.write(|w| unsafe { w.bits(!(1 << 3 | 1 << 2)) });
-
+    pub fn new(_pin: Pin<Input<PullUp>, P>) -> Self {
         Self {
             _pin: PhantomData {},
         }