diff --git a/csl/stm32f042k6t6/HardwareDescription/hwd_interrupt.h b/csl/stm32f042k6t6/HardwareDescription/hwd_interrupt.h index 5cbb1ea..fed1f7b 100644 --- a/csl/stm32f042k6t6/HardwareDescription/hwd_interrupt.h +++ b/csl/stm32f042k6t6/HardwareDescription/hwd_interrupt.h @@ -48,7 +48,6 @@ typedef enum { PINX6_RISING_EDGE, PINX6_FALLING_EDGE, PINX6_BOTH_EDGE, - PINX6_BOTH_EDGE, PINX7_RISING_EDGE, PINX7_FALLING_EDGE, PINX7_BOTH_EDGE, diff --git a/csl/stm32f042k6t6/implementation/imp_pin.c b/csl/stm32f042k6t6/implementation/imp_pin.c index 35b29a3..53a4c81 100644 --- a/csl/stm32f042k6t6/implementation/imp_pin.c +++ b/csl/stm32f042k6t6/implementation/imp_pin.c @@ -205,6 +205,3 @@ void pinThrowError(pinErrors_t error) { while(1); } - - - diff --git a/peripherals/pin/pin.h b/peripherals/pin/pin.h index 2020c7d..fda5c83 100644 --- a/peripherals/pin/pin.h +++ b/peripherals/pin/pin.h @@ -31,6 +31,7 @@ extern "C" { #include // include the target device definitions -> CMAKE chooses the correct file #include "hwd_pin.h" +#include "interrupt.h" #ifdef RASPBERRY #endif