|
@@ -16,24 +16,7 @@
|
|
#include <avr/pgmspace.h>
|
|
#include <avr/pgmspace.h>
|
|
#include <avr/eeprom.h>
|
|
#include <avr/eeprom.h>
|
|
#include <avr/interrupt.h>
|
|
#include <avr/interrupt.h>
|
|
-
|
|
|
|
-
|
|
|
|
-#define SYSTEM_TIMER_2
|
|
|
|
-
|
|
|
|
-#ifdef SYSTEM_TIMER_2
|
|
|
|
-#include "timer02.h"
|
|
|
|
-#define _millis millis2
|
|
|
|
-#define _micros micros2
|
|
|
|
-#define _delay delay2
|
|
|
|
-#else //SYSTEM_TIMER_2
|
|
|
|
-#define _millis millis
|
|
|
|
-#define _micros micros
|
|
|
|
-#define _delay delay
|
|
|
|
-#define timer02_set_pwm0(pwm0)
|
|
|
|
-#endif //SYSTEM_TIMER_2
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+#include "system_timer.h"
|
|
#include "fastio.h"
|
|
#include "fastio.h"
|
|
#include "Configuration.h"
|
|
#include "Configuration.h"
|
|
#include "pins.h"
|
|
#include "pins.h"
|