Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Migrate from USB/SD being hardcoded #4

Open
spotlightishere opened this issue Jul 15, 2022 · 0 comments
Open

Migrate from USB/SD being hardcoded #4

spotlightishere opened this issue Jul 15, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@spotlightishere
Copy link
Contributor

spotlightishere commented Jul 15, 2022

Many, many paths currently hardcode checks to usb:/ or sd:/, which is not preferable.

As it stands, we now have several functions to allow agnostic access of a volume hosted on a SD card or USB drive, depending on the user's preference:

char *app_path(char *app_name, char *app_file);
FILE *hbb_fopen(char *filename, const char *mode);
char *device_name();
char *temp_path();

We should migrate to removing these.

@spotlightishere spotlightishere added the help wanted Extra attention is needed label Jul 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
Status: In Progress
Development

No branches or pull requests

1 participant