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

main: fix error printing in app_main #341

Merged
merged 1 commit into from
Dec 14, 2023

Commits on Dec 13, 2023

  1. main: fix error printing in app_main

    We're assigning the return value of several functions to the variable
    ret, but when there's an error we print the name of err. As app_main
    doesn't return anything, drop the ret variable completely and use err
    everywhere.
    
    Fixes: 36ee1f7 ("main: read Wi-Fi credentials from NVS")
    Fixes: ae43147 ("main: get WAS URL from NVS")
    stintel committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    19f94e2 View commit details
    Browse the repository at this point in the history