X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fbuzzerled.h;h=8eda4033abedbe61ede56ae1b4e6fdfd969942f3;hb=e8b0472be10fba4ca6baa62d8d483db90e28c06e;hp=14fab03088d18074dd92a48da10d19266c814096;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/drv/buzzerled.h b/bertos/drv/buzzerled.h index 14fab030..8eda4033 100644 --- a/bertos/drv/buzzerled.h +++ b/bertos/drv/buzzerled.h @@ -33,7 +33,6 @@ * * \brief Generic library to handle buzzers and leds * - * \version $Id$ * * \author Giovanni Bajo */ @@ -43,11 +42,12 @@ #include -/** 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 +#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 */