diff options
| -rw-r--r-- | devicedeployment.c | 2 | ||||
| -rw-r--r-- | devicedeployment.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/devicedeployment.c b/devicedeployment.c index 4b5a50e..c832575 100644 --- a/devicedeployment.c +++ b/devicedeployment.c @@ -667,7 +667,7 @@ FirmwareUploadStatus smFirmwareUploadFromBuffer( const smbus smhandle, const int } if(i==256)//DFU device not found - return abortFWUpload(CFGConnectingDFUModeFailed,&state,400);//setting DFU mode failed + return abortFWUpload(FWConnectingDFUModeFailed,&state,400);//setting DFU mode failed progress=3; } diff --git a/devicedeployment.h b/devicedeployment.h index 60f1a69..f9cfaa1 100644 --- a/devicedeployment.h +++ b/devicedeployment.h @@ -41,7 +41,8 @@ typedef enum FWIncompatibleFW=-3, FWConnectionLoss=-4, FWUnsupportedTargetDevice=-5, - FWFileNotReadable=-6 + FWFileNotReadable=-6, + FWConnectingDFUModeFailed=-7 } FirmwareUploadStatus; /** @@ -68,7 +69,6 @@ typedef enum CFGComplete=100, CFGInvalidFile=-1, CFGCommunicationError=-2, - CFGConnectingDFUModeFailed=-3, CFGIncompatibleFW=-4, CFGUnsupportedTargetDevice=-5, CFGUnableToOpenFile=-6 |
