summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-09-06 23:55:37 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-09-06 23:55:37 +0200
commit24a3921f3c42b340a180f587bf5b7204ec712f85 (patch)
tree960070a1dac156cbdd9bc2de77250cc79d925e60 /src/arch
parent7cb855d4c47a9d75abd60a80aab0ca6630bc1549 (diff)
add blinkencat3 app
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arduino-nano/arch.cc2
-rw-r--r--src/arch/arduino-nano/driver/gpio.cc2
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