diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/arduino-nano/arch.cc | 2 | ||||
-rw-r--r-- | src/arch/arduino-nano/driver/gpio.cc | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/arduino-nano/arch.cc b/src/arch/arduino-nano/arch.cc index 752b3f4..9103d10 100644 --- a/src/arch/arduino-nano/arch.cc +++ b/src/arch/arduino-nano/arch.cc @@ -1,10 +1,12 @@ #include "arch.h" #include <avr/io.h> #include <avr/interrupt.h> +#include <avr/wdt.h> #include <util/delay.h> void Arch::setup(void) { + wdt_disable(); #if F_CPU == 16000000UL /* default */ diff --git a/src/arch/arduino-nano/driver/gpio.cc b/src/arch/arduino-nano/driver/gpio.cc index 3b870b1..edfc2d0 100644 --- a/src/arch/arduino-nano/driver/gpio.cc +++ b/src/arch/arduino-nano/driver/gpio.cc @@ -13,7 +13,9 @@ ISR(PCINT1_vect) { } +/* ISR(PCINT2_vect) { } +*/ #endif |