Skip to content

Commit

Permalink
add audio test mode param
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Apr 2, 2024
1 parent 433e6aa commit 76094bc
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion app/telemetry/settings/documentedparam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -587,9 +587,17 @@ static std::vector<std::shared_ptr<XParam>> get_parameters_list(){
"No effect if joy rc is disabled.");
}
{
append_int(ret,"AUDIO_ENABLE",
/*append_int(ret,"AUDIO_ENABLE",
ImprovedIntSetting::createEnumEnableDisable(),
"enables / disables audio streaming from air to ground. In development. Enabling automatically restarts the air unit !"
);*/
auto audio_items=std::vector<ImprovedIntSetting::Item>{
{"DISABLE",0},
{"ENABLE",1},
{"TEST",100},
};
append_int(ret,"AUDIO_ENABLE",ImprovedIntSetting(0,1000000,audio_items),
"enables / disables audio streaming from air to ground. In development. Use test mode to validate your ground audio output."
);
}
return ret;
Expand Down

0 comments on commit 76094bc

Please sign in to comment.