projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disable kernel heap (needs to be refactored).
[bertos.git]
/
bertos
/
drv
/
buzzerled.c
diff --git
a/bertos/drv/buzzerled.c
b/bertos/drv/buzzerled.c
index afc819028a8666cada29f415a09f8d1a13573a8e..000e7c984c717a7e657b04c5afe2751e72d734c2 100644
(file)
--- a/
bertos/drv/buzzerled.c
+++ b/
bertos/drv/buzzerled.c
@@
-51,10
+51,15
@@
*/
#include "buzzerled.h"
*/
#include "buzzerled.h"
-#include "timer.h"
-static struct Timer timers[NUM_BLDS];
-static bool timer_go[NUM_BLDS];
+#warning FIXME:This drive is obsolete, you must refactor it.
+
+#if 0
+#include "cfg/cfg_buzzerled.h"
+#include <drv/timer.h>
+
+static struct Timer timers[CONFIG_NUM_BLDS];
+static bool timer_go[CONFIG_NUM_BLDS];
INLINE enum BLD_DEVICE hook_parm_to_device(void* parm)
{
INLINE enum BLD_DEVICE hook_parm_to_device(void* parm)
{
@@
-95,4
+100,5
@@
void bld_beep_and_wait(enum BLD_DEVICE device, uint16_t duration)
timer_delay(duration);
bld_set(device, false);
}
timer_delay(duration);
bld_set(device, false);
}
+#endif