aboutsummaryrefslogtreecommitdiff
path: root/src/pcint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcint.c')
-rw-r--r--src/pcint.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/pcint.c b/src/pcint.c
deleted file mode 100644
index 1dedb63..0000000
--- a/src/pcint.c
+++ /dev/null
@@ -1,32 +0,0 @@
-/* This file defines and handles Pin change interupts.
- * This interupt can be used in different modules and sensors. Function call can
- * be done from this interrupt handdler.
- */
-#include <avr/interrupt.h>
-
-#if (defined CONFIG_IOE_SENSOR_DHT22)
-
-#ifdef CONFIG_IOE_SENSOR_DHT22
-extern void dht22_read_pcint(void);
-#endif
-
-
-ISR(PCINT0_vect, ISR_BLOCK) {
-#ifdef CONFIG_IOE_SENSOR_DHT22
- void dht22_read_pcint();
-#endif
-}
-
-ISR(PCINT1_vect, ISR_BLOCK) {
-#ifdef CONFIG_IOE_SENSOR_DHT22
- void dht22_read_pcint();
-#endif
-}
-
-ISR(PCINT2_vect, ISR_BLOCK) {
-#ifdef CONFIG_IOE_SENSOR_DHT22
- void dht22_read_pcint();
-#endif
-}
-
-#endif