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

Fix compilation warning when compiling with -Wformat flag #1740

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 17, 2024

  1. Fix compilation warning

    Compiler warning : format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint32_t'
    he compiler warning arises because the format specifier %lu expects a long unsigned int, but the variable free is of type uint32_t (which is typically unsigned int). The ESP32, part of the Espressif32 family, typically defines uint32_t as unsigned int, so using the %u format specifier is appropriate.
    PBrunot committed May 17, 2024
    Configuration menu
    Copy the full SHA
    0404abd View commit details
    Browse the repository at this point in the history