X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fbuzzerled.c;h=5135cf00f29b0c2992792684ac280ecc73c91f67;hb=1ebcf9b89595826a5c158ae6a68d4c2407b1dd52;hp=7ce6f53c416d6cf5146b29ce4df3f66460deabf6;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/drv/buzzerled.c b/bertos/drv/buzzerled.c index 7ce6f53c..5135cf00 100644 --- a/bertos/drv/buzzerled.c +++ b/bertos/drv/buzzerled.c @@ -45,41 +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 */ -/*#* - *#* $Log$ - *#* Revision 1.7 2006/07/19 12:56:25 bernie - *#* Convert to new Doxygen style. - *#* - *#* Revision 1.6 2005/11/04 16:20:02 bernie - *#* Fix reference to README.devlib in header. - *#* - *#* Revision 1.5 2004/12/08 09:43:41 bernie - *#* Add a todo item. - *#* - *#* Revision 1.4 2004/08/25 14:12:08 rasky - *#* Aggiornato il comment block dei log RCS - *#* - *#* 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.1 2004/05/23 18:36:05 bernie - *#* Import buzzerled driver. - *#* - *#*/ - #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) { @@ -120,4 +99,5 @@ void bld_beep_and_wait(enum BLD_DEVICE device, uint16_t duration) timer_delay(duration); bld_set(device, false); } +#endif