fix the too long filename bug when using a smaller width param. also added some extra text for output length of binary strings in decode. One tend to not see if its 25 or 26 bits sometimes :)

This commit is contained in:
iceman1001 committed 2024-01-15 12:58:23 +01:00
1 parent 00dfd6e5f1
commit a79b2bb725
4 files changed
+50 -11

No files matched your search

+2
View File
@@ -107,6 +107,8 @@ bool setDefaultPath(savePaths_t pathIndex, const char *path);
char *newfilenamemcopy(const char *preferredName, const char *suffix);
char *newfilenamemcopyEx(const char *preferredName, const char *suffix, savePaths_t save_path);
void truncate_filename(char *fn, uint16_t len);
/**
* @brief Utility function to save data to a binary file. This method takes a preferred name, but if that