X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fbuzzerled.c;h=000e7c984c717a7e657b04c5afe2751e72d734c2;hb=0774f0adbb7c85ab48bc4ba83e3c0473f68bd73b;hp=9e82598f970f41186cff70aa17bd20f6270d2e69;hpb=21985ab49e48c3f117b4ec481a65a037bd782721;p=bertos.git diff --git a/bertos/drv/buzzerled.c b/bertos/drv/buzzerled.c index 9e82598f..000e7c98 100644 --- a/bertos/drv/buzzerled.c +++ b/bertos/drv/buzzerled.c @@ -52,10 +52,14 @@ #include "buzzerled.h" +#warning FIXME:This drive is obsolete, you must refactor it. + +#if 0 +#include "cfg/cfg_buzzerled.h" #include -static struct Timer timers[NUM_BLDS]; -static bool timer_go[NUM_BLDS]; +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