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

Handle platforms where c_int is not i32 #69

Merged
merged 2 commits into from
Oct 22, 2024
Merged

Handle platforms where c_int is not i32 #69

merged 2 commits into from
Oct 22, 2024

Commits on Oct 22, 2024

  1. Configuration menu
    Copy the full SHA
    0988ecd View commit details
    Browse the repository at this point in the history
  2. Handle platforms where c_int is not i32

    Some functions assume that c_int is always i32.  This is not true for
    all platforms.  This patch adapts those functions to handle those cases.
    
    Some littlefs functions return an error code (c_int) from functions
    returning i32.  In these cases, error codes are truncated to c_int::MIN.
    robin-nitrokey committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    7614f8e View commit details
    Browse the repository at this point in the history