Adjust for DevLib.
[bertos.git] / drv / buzzerled.h
index ec1c65309615fc0b9865de774ed13c40513c5840..cbf243690abbc67086102c124f4488e2f5a6a02f 100755 (executable)
@@ -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 <cpu.h>
+
 /*! 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.
  * 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.