more functions, cleanup and simple error checking

This commit is contained in:
Such Meme, Many Skill
2020-03-31 15:34:19 +02:00
parent 38f349618f
commit 30afcddd3a
5 changed files with 96 additions and 101 deletions

View File

@@ -54,7 +54,7 @@ int gfx_errDisplay(char *src_func, int err, int loc){
if (err < 15)
gfx_printf("Desc: %s\n", utils_err_codes[err]);
else if (err >= ERR_SAME_LOC && err <= ERR_SD_EJECTED)
else if (err >= ERR_SAME_LOC && err <= ERR_PARSE_FAIL)
gfx_printf("Desc: %s\n", utils_err_codes_te[err - 50]);
if (loc)