Clean up the code. Manage the reconnection. Use the lwip error, insted
[bertos.git] / bertos / drv / buzzerled.h
index 14fab03088d18074dd92a48da10d19266c814096..8eda4033abedbe61ede56ae1b4e6fdfd969942f3 100644 (file)
@@ -33,7 +33,6 @@
  *
  * \brief Generic library to handle buzzers and leds
  *
- * \version $Id$
  *
  * \author Giovanni Bajo <rasky@develer.com>
  */
 
 #include <cpu/attr.h>
 
-/** Include hw.h. We expect hw.h to define enum BLD_DEVICE, which must contain
+#if 0
+/** Include hw_buzzerled.h. We expect hw_buzzerled.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.
  */
-#include <hw.h>
+#include "hw/hw_buzzerled.h"
 
 
 /* Include hw-level implementation. This allows inlining of bld_set, which in turns
@@ -91,4 +91,6 @@ void bld_beep(enum BLD_DEVICE device, uint16_t duration);
  */
 void bld_beep_and_wait(enum BLD_DEVICE device, uint16_t duration);
 
+#endif
+
 #endif /* DRV_BUZZERLED_H */