Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SD Log interval changes in global / special functions are not saved #3751

Closed
1 task done
ParkerEde opened this issue Jul 3, 2023 · 2 comments · Fixed by #3755
Closed
1 task done

SD Log interval changes in global / special functions are not saved #3751

ParkerEde opened this issue Jul 3, 2023 · 2 comments · Fixed by #3755
Labels
bug 🪲 Something isn't working color Related generally to color LCD radios
Milestone

Comments

@ParkerEde
Copy link
Contributor

Is there an existing issue for this problem?

  • I have searched the existing issues

What part of EdgeTX is the focus of this bug?

Transmitter firmware

Current Behavior

With the 2.9.0 RC1 it is currently no longer possible to change the LOG interval time from e.g. 1.0s to 0.5s in the global functions, as this is not saved. At first everything is displayed correctly, but when you leave the system menu and open it again, then open the global functions, the value is back to the initial value after you have gone back into editing.

Expected Behavior

the value should be saved

Steps To Reproduce

  1. open SYS
  2. open GF
  3. change intervall value for SD-LOG
  4. close GF
  5. close SYS
  6. open SYS
  7. open GF
  8. edit entry for SD-LOG
  9. observ the value is not saved

Version

Other (Please specify below)

Transmitter

FrSky X10 Express / X10S Express (ACCESS)

Operating System (OS)

No response

OS Version

No response

Anything else?

2.9.0 RC1

@ParkerEde ParkerEde added bug 🪲 Something isn't working triage Bug report awaiting review / sorting labels Jul 3, 2023
@pfeerick pfeerick removed the triage Bug report awaiting review / sorting label Jul 3, 2023
@pfeerick pfeerick changed the title Log interval Changes in global functions are not saved SD Log interval changes in global / special functions are not saved Jul 3, 2023
@pfeerick
Copy link
Member

pfeerick commented Jul 3, 2023

Happens for both special functions and global functions for me on TX16S

Closing radio menu is not necessary to repo... simply create / edit interval, close the edit screen, observe the just entered value on the overview, re-edit, and it will reset back to 1.0s

@pfeerick pfeerick added the color Related generally to color LCD radios label Jul 3, 2023
@pfeerick pfeerick added this to the 2.9 milestone Jul 3, 2023
@pfeerick
Copy link
Member

pfeerick commented Jul 3, 2023

Most likely caused by #3058 as I think

CFN_PARAM(cfn) = SD_LOGS_PERIOD_DEFAULT; // set default value

obliterates the current value every time the dialog is opened 🤭 . In other words, the value is saved every time you edit it, but is reset back to 1.0 if you re-enter the edit screen.

mha1 added a commit to mha1/edgetx that referenced this issue Jul 3, 2023
changes:
- set default value only if SF is created
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working color Related generally to color LCD radios
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants