X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fbuzzerled.c;h=5135cf00f29b0c2992792684ac280ecc73c91f67;hb=1ebcf9b89595826a5c158ae6a68d4c2407b1dd52;hp=afc819028a8666cada29f415a09f8d1a13573a8e;hpb=f66431cfee885cc3a2d87a4286e50850f46beac8;p=bertos.git diff --git a/bertos/drv/buzzerled.c b/bertos/drv/buzzerled.c index afc81902..5135cf00 100644 --- a/bertos/drv/buzzerled.c +++ b/bertos/drv/buzzerled.c @@ -45,16 +45,20 @@ * many different ways (many different pins), so this part should describe * which devices are present, and how they are connected. * - * \version $Id$ * * \author Giovanni Bajo */ #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 + +static struct Timer timers[CONFIG_NUM_BLDS]; +static bool timer_go[CONFIG_NUM_BLDS]; INLINE enum BLD_DEVICE hook_parm_to_device(void* parm) { @@ -95,4 +99,5 @@ void bld_beep_and_wait(enum BLD_DEVICE device, uint16_t duration) timer_delay(duration); bld_set(device, false); } +#endif