Commit 02b05e93 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

arduino nano: bugfix, aspectc++ support

parent 6326b0b4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
#include <avr/io.h>
#include <avr/interrupt.h>

typedef counter_value_t uint16_t;
typedef counter_overflow_t uint8_t;
typedef uint16_t counter_value_t;
typedef uint8_t counter_overflow_t;

class Counter {
	private:
+2 −0
Original line number Diff line number Diff line
@@ -115,6 +115,7 @@ Arch arch;

#if defined(WITH_LOOP) || defined(TIMER_S)

#ifndef __acweaving
ISR(TIMER1_COMPA_vect)
{
#ifdef WITH_LOOP
@@ -124,5 +125,6 @@ ISR(TIMER1_COMPA_vect)
	uptime.tick_s();
#endif
}
#endif

#endif
+2 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@

GPIO gpio;

#ifndef __acweaving
ISR(PCINT0_vect)
{
}
@@ -15,3 +16,4 @@ ISR(PCINT1_vect)
ISR(PCINT2_vect)
{
}
#endif