|
|
|
@ -40,6 +40,8 @@ namespace BuzzerSynth {
@@ -40,6 +40,8 @@ namespace BuzzerSynth {
|
|
|
|
|
|
|
|
|
|
using namespace SITL; |
|
|
|
|
|
|
|
|
|
#ifdef WITH_SITL_TONEALARM |
|
|
|
|
|
|
|
|
|
// table of user settable parameters
|
|
|
|
|
const AP_Param::GroupInfo Buzzer::var_info[] = { |
|
|
|
|
|
|
|
|
@ -60,8 +62,6 @@ const AP_Param::GroupInfo Buzzer::var_info[] = {
@@ -60,8 +62,6 @@ const AP_Param::GroupInfo Buzzer::var_info[] = {
|
|
|
|
|
AP_GROUPEND |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
#ifdef WITH_SITL_TONEALARM |
|
|
|
|
|
|
|
|
|
static sf::SoundBuffer xsoundBuffer; |
|
|
|
|
static sf::Sound xdemoSound; |
|
|
|
|
|
|
|
|
@ -126,6 +126,8 @@ void Buzzer::update(const struct sitl_input &input)
@@ -126,6 +126,8 @@ void Buzzer::update(const struct sitl_input &input)
|
|
|
|
|
|
|
|
|
|
using namespace SITL; |
|
|
|
|
|
|
|
|
|
const AP_Param::GroupInfo Buzzer::var_info[] = { AP_GROUPEND }; |
|
|
|
|
|
|
|
|
|
Buzzer::Buzzer() { }; |
|
|
|
|
|
|
|
|
|
void Buzzer::update(const struct sitl_input &input) {} |
|
|
|
|