X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fbuzzerled.h;h=4d174904bb2ab67a0f0138914e20599c8b5e8634;hb=9ade69e13707ef025418c4350139b2440a63ad60;hp=14fab03088d18074dd92a48da10d19266c814096;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/drv/buzzerled.h b/bertos/drv/buzzerled.h index 14fab030..4d174904 100644 --- a/bertos/drv/buzzerled.h +++ b/bertos/drv/buzzerled.h @@ -43,11 +43,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 +92,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 */