*
* -->
*
- * \version $Id$
- *
* \brief Buzzer driver (implementation)
*
- * \version $Id$
* \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);
}