Improve error handling

Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
Mahyar Koshkouei
2017-02-12 23:07:36 +00:00
parent 3878bf4e23
commit 984192eebe
5 changed files with 116 additions and 30 deletions

View File

@@ -13,9 +13,17 @@
/* Maximum number of lines that can be displayed */
#define MAX_LIST 27
struct watchdogInfo
{
PrintConsole* screen;
struct errInfo_t* errInfo;
};
void playbackWatchdog(void* infoIn);
static void showControls(void);
static int changeFile(const char* ep_file);
static int changeFile(const char* ep_file, volatile int* error, Handle* failEvent);
/**
* Get number of files in current working folder