Mark as obsolete.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 20 May 2008 15:57:05 +0000 (15:57 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 20 May 2008 15:57:05 +0000 (15:57 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1307 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/drv/buzzerled.c
bertos/drv/buzzerled.h

index 9e82598f970f41186cff70aa17bd20f6270d2e69..1a22cf0852a89beb5dae6d906ef8a58b1a17585e 100644 (file)
 
 #include "buzzerled.h"
 
+#include <appconfig.h>
 #include <drv/timer.h>
 
-static struct Timer timers[NUM_BLDS];
-static bool timer_go[NUM_BLDS];
+#warning FIXME:This drive is obsolete, you must refactor it.
+
+#if 0
+static struct Timer timers[CONFIG_NUM_BLDS];
+static bool timer_go[CONFIG_NUM_BLDS];
 
 INLINE enum BLD_DEVICE hook_parm_to_device(void* parm)
 {
@@ -96,4 +100,5 @@ void bld_beep_and_wait(enum BLD_DEVICE device, uint16_t duration)
        timer_delay(duration);
        bld_set(device, false);
 }
+#endif
 
index 9c0949a755ef5329d891091865a03b516467e946..a9f0b00027bfb67dd0f24bda2444fd8e27ab76eb 100644 (file)
@@ -43,6 +43,9 @@
 
 #include <cpu/attr.h>
 
+#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.
@@ -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 */