* 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>
*
* -->
*
- * \version $Id$
- *
* \brief Buzzer driver (implementation)
*
- * \version $Id$
- * \author Bernardo Innocenti <bernie@develer.com>
+ * \author Bernie Innocenti <bernie@codewiz.org>
* \author Francesco Sacchi <batt@develer.com>
*/
*/
void buz_beep(mtime_t time)
{
- cpuflags_t flags;
+ cpu_flags_t flags;
IRQ_SAVE_DISABLE(flags);
/* Remove the software interrupt if it was already queued */
*/
void buz_repeat_stop(void)
{
- cpuflags_t flags;
+ cpu_flags_t flags;
IRQ_SAVE_DISABLE(flags);
/* Remove the software interrupt if it was already queued */
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);
}