diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-11-25 21:56:51 +0000 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-11-25 21:56:51 +0000 |
| commit | a78d877a558cc9519ece2b48f6f3281d78874c59 (patch) | |
| tree | 11d774c8b629cbabc30306695eb104a97c757de1 /Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c | |
| parent | 55df821e937afba3a3284ee17d9428b1c20be310 (diff) | |
| download | Tango-a78d877a558cc9519ece2b48f6f3281d78874c59.tar.gz Tango-a78d877a558cc9519ece2b48f6f3281d78874c59.zip | |
Updated FileSystem.c
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c index e2a84a0ec..3d23f9e48 100644 --- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c +++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c @@ -41,6 +41,10 @@ int FileReceivedLength = 0; static char g_cCwdBuf[50] = "/"; uint32_t WrittenBytes = 0; +/*ErrorCode FileError_to_ErrorCode[FILE_ERRORS_MAX+1] = {ERROR_CODE__NONE,ERROR_CODE__JOB_UNSPECIFIED_ERROR,ERROR_CODE__JOB_THREAD_BREAK,ERROR_CODE__JOB_WINDER_DANCER_FAIL, + ERROR_CODE__JOB_POOLER_DANCER_FAIL,ERROR_CODE__JOB_FEEDER_DANCER_FAIL,ERROR_CODE__JOB_OUT_OF_DYE,ERROR_CODE__JOB_OTHER_ALARM, + ERROR_CODE__JOB_TEMPERATURE_ALARM,ERROR_CODE__JOB_LS_ALARM,ERROR_CODE__JOB_PRESSURE_ALARM,ERROR_CODE__JOB_CURRENT_ALARM,ERROR_CODE__JOB_MOTOR_ALARM}; +*/ ErrorCode getErrorCode(FRESULT Fresult) { |
