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

[SSD1306] prefs start-up optimisation #1579

Merged
merged 1 commit into from
Mar 28, 2023

Conversation

DigiH
Copy link
Collaborator

@DigiH DigiH commented Mar 27, 2023

Avoid
[ 137][E][Preferences.cpp:483] getString(): nvs_get_str len fail: SSD1306Config NOT_FOUND
error during start-up when no save preferences have been found

lilygo-rtl-433-ssd1306-error

now correctly

************* WELCOME TO OpenMQTTGateway **************
N: SSD1306 config initialised
N: No SSD1306 config to load
N: Setup SSD1306 Display end

and additionally

************* WELCOME TO OpenMQTTGateway **************
N: SSD1306 config initialised
N: Saved SSD1306 config loaded
N: Setup SSD1306 Display end

Checklist:

  • The pull request is done against the latest development branch
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • I accept the DCO.

@DigiH DigiH changed the title SSD1306 prefs start-up optimisation [SSD1306] prefs start-up optimisation Mar 27, 2023
Avoid
[ 137][E][Preferences.cpp:483] getString(): nvs_get_str len fail: SSD1306Config NOT_FOUND
error during start-up when no save preferences have been found
@1technophile
Copy link
Owner

Thanks

@1technophile 1technophile merged commit 08279ba into 1technophile:development Mar 28, 2023
@DigiH DigiH deleted the SSD1306 branch March 28, 2023 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants