Skip to content

Commit

Permalink
Merge pull request #681 from OpenHD/consti-dev
Browse files Browse the repository at this point in the history
Consti dev
  • Loading branch information
Consti10 authored Apr 3, 2024
2 parents 31d0a34 + 93ef6a5 commit 0a041ea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion qml/ui/elements/AppSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ Settings {
property bool dev_force_show_full_screen: false

// experimental
property bool dev_enable_live_audio_playback: false
property bool dev_enable_live_audio_playback: true
// might / might not work
property bool dev_set_swap_interval_zero: false

Expand Down

0 comments on commit 0a041ea

Please sign in to comment.