Updated compatibility file.
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
#define IAR2GCC_H
|
#define IAR2GCC_H
|
||||||
|
|
||||||
#if !defined(F_CPU)
|
#if !defined(F_CPU)
|
||||||
#define F_CPU (7372800)
|
#error You must define F_CPU - clock frequency!
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* IAR */
|
/* IAR */
|
||||||
@@ -53,6 +53,10 @@ static inline void _delay_us(
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
#include <util/delay.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Input/Output Registers */
|
/* Input/Output Registers */
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
#include <avr/io.h>
|
#include <avr/io.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user