X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fbuzzerled.h;h=c5c97d96bcd2721606e5750bfecf0b3912d8d620;hb=80190d89df0008fcfed5489e028d7055b0b40f9e;hp=9c0949a755ef5329d891091865a03b516467e946;hpb=21985ab49e48c3f117b4ec481a65a037bd782721;p=bertos.git diff --git a/bertos/drv/buzzerled.h b/bertos/drv/buzzerled.h index 9c0949a7..c5c97d96 100644 --- a/bertos/drv/buzzerled.h +++ b/bertos/drv/buzzerled.h @@ -43,11 +43,14 @@ #include +#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_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 */