projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix "Found unknown command" doxygen warnings.
[bertos.git]
/
bertos
/
cpu
/
avr
/
drv
/
timer_simple_avr.c
diff --git
a/bertos/cpu/avr/drv/timer_simple_avr.c
b/bertos/cpu/avr/drv/timer_simple_avr.c
index 877bbad9c387d78fafd6085401cfcbf364791e99..95caf428a03915728aa743c219021030f9e81219 100644
(file)
--- a/
bertos/cpu/avr/drv/timer_simple_avr.c
+++ b/
bertos/cpu/avr/drv/timer_simple_avr.c
@@
-40,19
+40,18
@@
#warning FIXME:This module is obsolete, yuo must refactor it.
#if 0
#warning FIXME:This module is obsolete, yuo must refactor it.
#if 0
-#include
"hw_cpu.h"
+#include
<hw/hw_cpufreq.h>
#include "timer_simple_avr.h"
#include <drv/wdt.h>
#include <cfg/compiler.h>
#include <cfg/macros.h> /* BV() */
#include "timer_simple_avr.h"
#include <drv/wdt.h>
#include <cfg/compiler.h>
#include <cfg/macros.h> /* BV() */
-#include <hw_cpu.h> /* CLOCK_FREQ */
#include <avr/io.h>
#define MS_PER_SEC 1000UL
#define TIMER_PRESCALER 64UL
#include <avr/io.h>
#define MS_PER_SEC 1000UL
#define TIMER_PRESCALER 64UL
-#define TIMER_DELAY_1MS (255 - C
LOCK
_FREQ / TIMER_PRESCALER / MS_PER_SEC)
+#define TIMER_DELAY_1MS (255 - C
PU
_FREQ / TIMER_PRESCALER / MS_PER_SEC)
/**
* Wait \a time ms using timer 0.
/**
* Wait \a time ms using timer 0.