Remove plenty of legacy names marked as OBSOLETE
[bertos.git] / bertos / drv / buzzer.c
index 218c0d285f5e4af0e98265f0dbf1ed49092d8937..8cac8123ed3493fe0630834aa44ed44eec015f39 100644 (file)
@@ -27,7 +27,7 @@
  * the GNU General Public License.
  *
  * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
- * Copyright 1999, 2003 Bernardo Innocenti <bernie@develer.com>
+ * Copyright 1999, 2003 Bernie Innocenti <bernie@codewiz.org>
  *
  * -->
  *
  * \brief Buzzer driver (implementation)
  *
  * \version $Id$
- * \author Bernardo Innocenti <bernie@develer.com>
+ * \author Bernie Innocenti <bernie@codewiz.org>
  * \author Francesco Sacchi <batt@develer.com>
  */
 
 #include "buzzer.h"
 
-#include "hw_buzzer.h"
+#include "hw/hw_buzzer.h"
 #include <drv/timer.h>
 
 #include <mware/event.h>
@@ -155,7 +155,7 @@ void buz_init(void)
        BUZZER_HW_INIT;
 
        /* Init software interrupt. */
-       timer_set_event_softint(&buz_timer, (Hook)buz_softint, 0);
+       timer_setSoftint(&buz_timer, (Hook)buz_softint, 0);
 
        MOD_INIT(buzzer);
 }