X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Fbuzzerled.h;h=cbf243690abbc67086102c124f4488e2f5a6a02f;hb=4560fc1a4dc7c27243d7f8afa9a1291e646c2f8b;hp=ec1c65309615fc0b9865de774ed13c40513c5840;hpb=795f9992c2d8ff54910179c532a113e8e8ba44df;p=bertos.git diff --git a/drv/buzzerled.h b/drv/buzzerled.h index ec1c6530..cbf24369 100755 --- a/drv/buzzerled.h +++ b/drv/buzzerled.h @@ -15,6 +15,9 @@ /* * $Log$ + * Revision 1.4 2004/07/30 14:15:53 rasky + * Nuovo supporto unificato per detect della CPU + * * 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 * @@ -29,6 +32,8 @@ #ifndef DRV_BUZZERLED_H #define DRV_BUZZERLED_H +#include + /*! Include hw.h. We expect hw.h to define enum BLD_DEVICE, which must contain * an enumarator for each device, plus a special symbol NUM_BLDS containing the * number of devices. @@ -40,11 +45,7 @@ * should allow fast constant propagation for the common case (where the parameter * device is a constant). */ -#if defined(__m56800__) - #include "buzzerled_dsp56k.h" -#else - #error Unsupported architecture -#endif +#include CPU_HEADER(buzzerled) /*! Initialize the buzzerled library.