add close function wrapper
This commit is contained in:
parent
2cfb08aa18
commit
40853a0d4c
@ -152,6 +152,12 @@ int beep_init()
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int beep_close()
|
||||||
|
{
|
||||||
|
buzzer_stop();
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int beep_test(void)
|
int beep_test(void)
|
||||||
{
|
{
|
||||||
|
@ -36,3 +36,4 @@ int beep_test(void);
|
|||||||
// compatibility to old interface
|
// compatibility to old interface
|
||||||
int beep(double freq_hz, double duration_sec);
|
int beep(double freq_hz, double duration_sec);
|
||||||
int beep_init();
|
int beep_init();
|
||||||
|
int beep_close();
|
||||||
|
Loading…
Reference in New Issue
Block a user