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 18e9748..fbf909a 100644 --- a/devicedeployment.c +++ b/devicedeployment.c @@ -633,7 +633,7 @@ FirmwareUploadStatus smFirmwareUpload( const smbus smhandle, const int smaddress } if(i==256)//DFU device not found - return abortFWUpload(CFGConnectingDFUModeFailed,fwData,&state,400);//setting DFU mode failed + return abortFWUpload(FWConnectingDFUModeFailed,fwData,&state,400);//setting DFU mode failed progress=3; } diff --git a/devicedeployment.h b/devicedeployment.h index f86c7dc..4ba793e 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; /** @@ -58,7 +59,6 @@ typedef enum CFGComplete=100, CFGInvalidFile=-1, CFGCommunicationError=-2, - CFGConnectingDFUModeFailed=-3, CFGIncompatibleFW=-4, CFGUnsupportedTargetDevice=-5, CFGUnableToOpenFile=-6 |
