add close function wrapper

This commit is contained in:
Gerolf Ziegenhain 2016-10-03 21:05:44 +02:00
parent 2cfb08aa18
commit 40853a0d4c
2 changed files with 7 additions and 0 deletions

View File

@ -152,6 +152,12 @@ int beep_init()
return 0;
}
int beep_close()
{
buzzer_stop();
return 0;
}
int beep_test(void)
{

View File

@ -36,3 +36,4 @@ int beep_test(void);
// compatibility to old interface
int beep(double freq_hz, double duration_sec);
int beep_init();
int beep_close();