mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 17:55:19 +03:00
Fixes #1546
// TODO check if the vario / background music are stopped correctly if switching to a model which doesn't have these functions enabled
This commit is contained in:
parent
72c433ce9d
commit
3f3708f0f1
1 changed files with 2 additions and 5 deletions
|
@ -1625,11 +1625,8 @@ void timerReset(uint8_t idx)
|
|||
|
||||
void flightReset()
|
||||
{
|
||||
static bool firstReset = true;
|
||||
if (firstReset)
|
||||
firstReset = false;
|
||||
else
|
||||
AUDIO_RESET();
|
||||
// we don't reset the whole audio here (the tada.wav would be cut, if a prompt is queued before FlightReset, it should be played)
|
||||
// TODO check if the vario / background music are stopped correctly if switching to a model which doesn't have these functions enabled
|
||||
|
||||
if (!IS_MANUAL_RESET_TIMER(0)) {
|
||||
timerReset(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue