X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fbuzzerled.h;h=acc2a42d402001e97b1dee9cbd274056e45b0085;hb=34095954298315121af602c079ca784329d53b12;hp=14fab03088d18074dd92a48da10d19266c814096;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/drv/buzzerled.h b/bertos/drv/buzzerled.h index 14fab030..acc2a42d 100644 --- a/bertos/drv/buzzerled.h +++ b/bertos/drv/buzzerled.h @@ -43,11 +43,14 @@ #include -/** Include hw.h. We expect hw.h to define enum BLD_DEVICE, which must contain +#warning FIXME:This drive is obsolete, you must refactor it. + +#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 +94,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 */