projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix spacing
[bertos.git]
/
drv
/
buzzerled.c
diff --git
a/drv/buzzerled.c
b/drv/buzzerled.c
index 2aa7b15967ea940c4708868f2024c10c29d5dbe1..cc320905b82a7993f0fe95bfc25c1659403096c6 100755
(executable)
--- a/
drv/buzzerled.c
+++ b/
drv/buzzerled.c
@@
-27,6
+27,9
@@
/*
* $Log$
/*
* $Log$
+ * Revision 1.3 2004/07/14 14:04:29 rasky
+ * Merge da SC: spostata bld_set inline perché si ottimizza parecchio tramite propagazione di costanti
+ *
* Revision 1.2 2004/06/03 11:27:09 bernie
* Add dual-license information.
*
* Revision 1.2 2004/06/03 11:27:09 bernie
* Add dual-license information.
*
@@
-38,12
+41,6
@@
#include "buzzerled.h"
#include "timer.h"
#include "buzzerled.h"
#include "timer.h"
-#if defined(__m56800__)
- #include "buzzerled_dsp56k.h"
-#else
- #error Unsupported architecture
-#endif
-
static struct Timer timers[NUM_BLDS];
static bool timer_go[NUM_BLDS];
static struct Timer timers[NUM_BLDS];
static bool timer_go[NUM_BLDS];
@@
-69,11
+66,6
@@
void bld_init(void)
bld_hw_init();
}
bld_hw_init();
}
-void bld_set(enum BLD_DEVICE device, bool enable)
-{
- bld_hw_set(device, enable);
-}
-
void bld_beep(enum BLD_DEVICE device, uint16_t duration)
{
struct Timer* t = &timers[device];
void bld_beep(enum BLD_DEVICE device, uint16_t duration)
{
struct Timer* t = &timers[device];