X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Fbuzzerled.c;h=3e8841c49dfc7c57b1a95954df55dc32fba84366;hb=04cdf83948ae2bf7d6404be4d5816707092619f3;hp=9945cb4eabcbafde85b96c029af859b401e3b556;hpb=277b540c0764dd376dcf583acdc97a2b2fd3d8e6;p=bertos.git diff --git a/drv/buzzerled.c b/drv/buzzerled.c index 9945cb4e..3e8841c4 100755 --- a/drv/buzzerled.c +++ b/drv/buzzerled.c @@ -3,7 +3,7 @@ * * * \brief Generic library to handle buzzers and leds @@ -27,6 +27,12 @@ /*#* *#* $Log$ + *#* 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 +77,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);