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

radiomaster zorro spash screen bug #3830

Closed
1 task done
LexFPV opened this issue Jul 19, 2023 · 10 comments · Fixed by #3831
Closed
1 task done

radiomaster zorro spash screen bug #3830

LexFPV opened this issue Jul 19, 2023 · 10 comments · Fixed by #3831
Labels
bug 🪲 Something isn't working triage Bug report awaiting review / sorting

Comments

@LexFPV
Copy link

LexFPV commented Jul 19, 2023

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

i just updated to edgetx 2.9.0 rc1 and im having an issue with the splash screen.

when i power on and the edgetx logo is shown it looks like it tries to put a black background onto the screen while its white
(see screenshots)

this did not happen when i was on 2.8.4.!

Screenshot_20230719-1324272

Expected Behavior

that it boots up normally without the black backdrop.

Steps To Reproduce

power radio on and look at the splash screen

Version

2.9.0

Transmitter

Radiomaster Zorro

Operating System (OS)

Windows

OS Version

Windows 11, version 22H2

Anything else?

No response

@LexFPV LexFPV added bug 🪲 Something isn't working triage Bug report awaiting review / sorting labels Jul 19, 2023
@pfeerick
Copy link
Member

pfeerick commented Jul 19, 2023

Check your contrast setting (SYS -> Radio Setup -> Contrast), it's probably a fraction too high.

@3djc
Copy link
Collaborator

3djc commented Jul 19, 2023

Pfeerick is completely right, but I must add that there is no settings that will make it right for all screen. If it is perfect for this one, it will be worse in others. This is not a software issue, it is down to the lcd panel built in power driver circuit (and there I must also add that is is not a Radiomaster issue, all similar radio, including FrSky x7 suffer the very same issue)

@LexFPV
Copy link
Author

LexFPV commented Jul 19, 2023

Pfeerick is completely right, but I must add that there is no settings that will make it right for all screen. If it is perfect for this one, it will be worse in others. This is not a software issue, it is down to the lcd panel built in power driver circuit (and there I must also add that is is not a Radiomaster issue, all similar radio, including FrSky x7 suffer the very same issue)

yeah okay. the thing is that even on contrast level 10 it is still there. and it wasnt there before i updated to 2.9.0(was on 2.8.4 before)

@3djc
Copy link
Collaborator

3djc commented Jul 19, 2023

In addition I checked lcd_driver_spi.cpp where this is happening, there no change between 2.8 and 2.9 branches

@LexFPV
Copy link
Author

LexFPV commented Jul 19, 2023

In addition I checked lcd_driver_spi.cpp where this is happening, there no change between 2.8 and 2.9 branches

huh.. so this is just the lcd?

@3djc
Copy link
Collaborator

3djc commented Jul 19, 2023

No you are right, there seems to be a difference, trying to narrow it down

@LexFPV
Copy link
Author

LexFPV commented Jul 19, 2023

No you are right, there seems to be a difference, trying to narrow it down

okay.!

@3djc
Copy link
Collaborator

3djc commented Jul 19, 2023

Got it, submitting fix PR

@3djc
Copy link
Collaborator

3djc commented Jul 19, 2023

As a side note @pfeerick , boot logo is displayed before radio data is loaded so using LCD_CONTRAST_DEFAULT

@pfeerick
Copy link
Member

pfeerick commented Jul 20, 2023

No, that's not quite true... otherwise, the radio wouldn't know to apply the startup delay, or how long to show the logo (if at all). There is a pre-load of the settings to get those values (which is allowed to fail), before choosing to run the animation / show splash screen.

edgetx/radio/src/opentx.cpp

Lines 1445 to 1467 in 2ab21da

#if defined(STARTUP_ANIMATION)
lcdRefreshWait();
lcdClear();
lcdRefresh();
lcdRefreshWait();
bool radioSettingsValid = storageReadRadioSettings(false);
(void)radioSettingsValid;
#endif
BACKLIGHT_ENABLE(); // we start the backlight during the startup animation
#if defined(STARTUP_ANIMATION)
if (WAS_RESET_BY_WATCHDOG_OR_SOFTWARE()) {
pwrOn();
}
else {
runStartupAnimation();
}
#else // defined(PWR_BUTTON_PRESS)
pwrOn();
haptic.play(15, 3, PLAY_NOW);
#endif

I think the issue now is that lcdSetContrast isn't called again after board initalisation using LCD_CONTRAST_DEFAULT until later in startup.

edgetx/radio/src/opentx.cpp

Lines 1591 to 1593 in 2ab21da

#if defined(GUI) && !defined(COLORLCD)
lcdSetContrast();
#endif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working triage Bug report awaiting review / sorting
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants