diff options
Diffstat (limited to 'project.h')
-rw-r--r-- | project.h | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -17,7 +17,24 @@ #include <avr/interrupt.h> #include <avr/pgmspace.h> -#include "delay.h" +#ifdef PROTOTYPING +#define _delay_ms void _delay_ms +#define _delay_us void _delay_us +#define _delay_loop_1 void _delay_loop_1 +#define _delay_loop_2 void _delay_loop_2 +#define __DELAY_BACKWARD_COMPATIBLE__ +#endif + +#include <delay.h> + + +#ifdef PROTOTYPING +#undef _delay_loop_2 +#undef _delay_loop_1 +#undef _delay_us +#undef _delay_ms +#endif + #include "uart.h" |