X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Fbuzzerled.c;h=cc320905b82a7993f0fe95bfc25c1659403096c6;hb=3ab2169c16c6e33a7200218e4992a2d6f372b2ee;hp=2aa7b15967ea940c4708868f2024c10c29d5dbe1;hpb=96f0ef786b54356c56cc3d4e4f0838df2505cfcc;p=bertos.git diff --git a/drv/buzzerled.c b/drv/buzzerled.c index 2aa7b159..cc320905 100755 --- a/drv/buzzerled.c +++ b/drv/buzzerled.c @@ -27,6 +27,9 @@ /* * $Log$ + * 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. * @@ -38,12 +41,6 @@ #include "buzzerled.h" #include "timer.h" -#if defined(__m56800__) - #include "buzzerled_dsp56k.h" -#else - #error Unsupported architecture -#endif - static struct Timer timers[NUM_BLDS]; static bool timer_go[NUM_BLDS]; @@ -69,11 +66,6 @@ void bld_init(void) bld_hw_init(); } -void bld_set(enum BLD_DEVICE device, bool enable) -{ - bld_hw_set(device, enable); -} - void bld_beep(enum BLD_DEVICE device, uint16_t duration) { struct Timer* t = &timers[device];