Move pwm for arm target in corret dir.
[bertos.git] / bertos / drv / buzzerled.c
index 9e82598f970f41186cff70aa17bd20f6270d2e69..1a22cf0852a89beb5dae6d906ef8a58b1a17585e 100644 (file)
 
 #include "buzzerled.h"
 
+#include <appconfig.h>
 #include <drv/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
+static struct Timer timers[CONFIG_NUM_BLDS];
+static bool timer_go[CONFIG_NUM_BLDS];
 
 INLINE enum BLD_DEVICE hook_parm_to_device(void* parm)
 {
@@ -96,4 +100,5 @@ void bld_beep_and_wait(enum BLD_DEVICE device, uint16_t duration)
        timer_delay(duration);
        bld_set(device, false);
 }
+#endif