X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Fbuzzerled.c;h=7ce6f53c416d6cf5146b29ce4df3f66460deabf6;hb=2535cb94ec2183791128f8bbd109ca69a960cf78;hp=9945cb4eabcbafde85b96c029af859b401e3b556;hpb=277b540c0764dd376dcf583acdc97a2b2fd3d8e6;p=bertos.git diff --git a/drv/buzzerled.c b/drv/buzzerled.c old mode 100755 new mode 100644 index 9945cb4e..7ce6f53c --- a/drv/buzzerled.c +++ b/drv/buzzerled.c @@ -1,9 +1,34 @@ -/*! +/** * \file * * * \brief Generic library to handle buzzers and leds @@ -27,6 +52,15 @@ /*#* *#* $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 *#* @@ -71,7 +105,8 @@ void bld_init(void) void bld_beep(enum BLD_DEVICE device, uint16_t duration) { - struct Timer* t = &timers[device]; + // \todo This is not reentrant for the same device. FIXME! + struct Timer *t = &timers[device]; timer_set_delay(t, duration); timer_set_event_softint(t, hook_turn_off, t); timer_add(t);