projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename cpuXXX_t to cpu_XXX_t
[bertos.git]
/
bertos
/
drv
/
buzzer.c
diff --git
a/bertos/drv/buzzer.c
b/bertos/drv/buzzer.c
index df72dae2dfe3bbaec2db4ef538e654658f5333ba..6d74fcc4be2aaba98a80fcf13a484da32d526540 100644
(file)
--- a/
bertos/drv/buzzer.c
+++ b/
bertos/drv/buzzer.c
@@
-27,7
+27,7
@@
* the GNU General Public License.
*
* Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
* the GNU General Public License.
*
* Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
- * Copyright 1999, 2003 Bern
ardo Innocenti <bernie@develer.com
>
+ * Copyright 1999, 2003 Bern
ie Innocenti <bernie@codewiz.org
>
*
* -->
*
*
* -->
*
@@
-36,13
+36,13
@@
* \brief Buzzer driver (implementation)
*
* \version $Id$
* \brief Buzzer driver (implementation)
*
* \version $Id$
- * \author Bern
ardo Innocenti <bernie@develer.com
>
+ * \author Bern
ie Innocenti <bernie@codewiz.org
>
* \author Francesco Sacchi <batt@develer.com>
*/
#include "buzzer.h"
* \author Francesco Sacchi <batt@develer.com>
*/
#include "buzzer.h"
-#include
<hw_buzzer.h>
+#include
"hw/hw_buzzer.h"
#include <drv/timer.h>
#include <mware/event.h>
#include <drv/timer.h>
#include <mware/event.h>
@@
-92,7
+92,7
@@
static void buz_softint(void)
*/
void buz_beep(mtime_t time)
{
*/
void buz_beep(mtime_t time)
{
- cpuflags_t flags;
+ cpu
_
flags_t flags;
IRQ_SAVE_DISABLE(flags);
/* Remove the software interrupt if it was already queued */
IRQ_SAVE_DISABLE(flags);
/* Remove the software interrupt if it was already queued */
@@
-127,7
+127,7
@@
void buz_repeat_start(mtime_t duration, mtime_t interval)
*/
void buz_repeat_stop(void)
{
*/
void buz_repeat_stop(void)
{
- cpuflags_t flags;
+ cpu
_
flags_t flags;
IRQ_SAVE_DISABLE(flags);
/* Remove the software interrupt if it was already queued */
IRQ_SAVE_DISABLE(flags);
/* Remove the software interrupt if it was already queued */
@@
-155,7
+155,7
@@
void buz_init(void)
BUZZER_HW_INIT;
/* Init software interrupt. */
BUZZER_HW_INIT;
/* Init software interrupt. */
- timer_set
_event_s
oftint(&buz_timer, (Hook)buz_softint, 0);
+ timer_set
S
oftint(&buz_timer, (Hook)buz_softint, 0);
MOD_INIT(buzzer);
}
MOD_INIT(buzzer);
}