X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Fbuzzerled.c;h=bd853629e150602937bd11adcc50d64a3639fe81;hb=89055a8545877865c37fbe0f590e7d429ae00c4a;hp=9945cb4eabcbafde85b96c029af859b401e3b556;hpb=277b540c0764dd376dcf583acdc97a2b2fd3d8e6;p=bertos.git diff --git a/drv/buzzerled.c b/drv/buzzerled.c index 9945cb4e..bd853629 100755 --- a/drv/buzzerled.c +++ b/drv/buzzerled.c @@ -27,6 +27,9 @@ /*#* *#* $Log$ + *#* 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 +74,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);