getwd fix

This commit is contained in:
mwalker33 2020-04-13 20:46:01 +10:00
parent acf4c09aa3
commit fd5fe61462

View file

@ -32,6 +32,7 @@ static int setCmdHelp(const char *Cmd);
// Load all settings into memory (struct)
static char* prefGetFilename (void) {
/*
static char Buffer[FILENAME_MAX+sizeof(preferencesFilename)+2] = {0};
char PATH[FILENAME_MAX] = {0};
@ -43,6 +44,8 @@ static char* prefGetFilename (void) {
#endif
return Buffer;
*/
return preferencesFilename;
}
int preferences_load (void) {