projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add reg definition for adc driver.
[bertos.git]
/
bertos
/
drv
/
buzzerled.h
diff --git
a/bertos/drv/buzzerled.h
b/bertos/drv/buzzerled.h
index 14fab03088d18074dd92a48da10d19266c814096..8eda4033abedbe61ede56ae1b4e6fdfd969942f3 100644
(file)
--- a/
bertos/drv/buzzerled.h
+++ b/
bertos/drv/buzzerled.h
@@
-33,7
+33,6
@@
*
* \brief Generic library to handle buzzers and leds
*
*
* \brief Generic library to handle buzzers and leds
*
- * \version $Id$
*
* \author Giovanni Bajo <rasky@develer.com>
*/
*
* \author Giovanni Bajo <rasky@develer.com>
*/
@@
-43,11
+42,12
@@
#include <cpu/attr.h>
#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.
*/
* 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
/* 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);
*/
void bld_beep_and_wait(enum BLD_DEVICE device, uint16_t duration);
+#endif
+
#endif /* DRV_BUZZERLED_H */
#endif /* DRV_BUZZERLED_H */