aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/compat.h
blob: 5083c6e570e03b4930766c15898c5e112bb960fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef COMPAT_H_
#define COMPAT_H_

#include <avr/io.h>
#include <avr/wdt.h>
#include <avr/interrupt.h>
#include <avr/sleep.h>
#include <avr/cpufunc.h>
#include <avr/pgmspace.h>
#include <avr/eeprom.h>
#include <util/delay.h>


#ifndef TIFR0
# define TIFR0	TIFR
#endif
#ifndef TIMSK0
# define TIMSK0	TIMSK
#endif
#ifndef WDIE
# define WDIE	WDTIE
#endif
#ifndef MUX2
# define MUX2	2
#endif
#ifndef MUX3
# define MUX3	3
#endif
#ifndef REFS1
# define REFS1	7
#endif
#ifndef REFS2
# define REFS2	4
#endif
#ifndef WDTCR
# define WDTCR	WDTCSR
#endif
#ifndef TIMER0_OVF_vect
# define TIMER0_OVF_vect TIM0_OVF_vect
#endif


#endif /* COMPAT_H_ */
bues.ch cgit interface