diff options
Diffstat (limited to 'src/avr')
-rw-r--r-- | src/avr/timer.c | 2 | ||||
-rw-r--r-- | src/avr/timer.h | 12 |
2 files changed, 1 insertions, 13 deletions
diff --git a/src/avr/timer.c b/src/avr/timer.c index 31f94caf..442bff32 100644 --- a/src/avr/timer.c +++ b/src/avr/timer.c @@ -6,10 +6,10 @@ #include <avr/interrupt.h> // TCNT1 #include "autoconf.h" // CONFIG_AVR_CLKPR +#include "board/misc.h" // timer_from_us #include "command.h" // shutdown #include "irq.h" // irq_save #include "sched.h" // sched_timer_kick -#include "timer.h" // timer_from_us /**************************************************************** diff --git a/src/avr/timer.h b/src/avr/timer.h deleted file mode 100644 index 188d8a98..00000000 --- a/src/avr/timer.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef __AVR_TIMER_H -#define __AVR_TIMER_H - -#include <stdint.h> - -uint32_t timer_from_us(uint32_t us); -void timer_periodic(void); -uint32_t timer_read_time(void); -uint8_t timer_set_next(uint32_t next); -uint8_t timer_try_set_next(uint32_t next); - -#endif // timer.h |