arduino / arduino/ArduinoCore-avr
issue in wiring.c for attiny13 in the arduino core. [imported]
- Dominant language
- C
- Stars
- 1.5k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
This is [Issue 765](http://code.google.com/p/arduino/issues/detail?id=765) moved from a Google Code project.
Added by 2011-12-30T06:41:46.000Z by [thechime...@gmail.com](http://code.google.com/u/114772983994085147205/).
Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Defect, Priority-Medium
### Original description
In using arduino as an ISP to program ATtiny13, I came across this issue in wiring.c where an incorrect macro is being used for the TIMER overflow.
```c++
# if defined(__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__)
SIGNAL(TIM0_OVF_vect)
# else
SIGNAL(TIMER0_OVF_vect)
# endif
```
Checking iotn13.h, the timer overflow macro is `TIM0_OVF_vect` for `__AVR_ATtiny13__` as well!
I am using Arduino 1.0 on a MAC OSX (The same is true even on glnx86).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.