Fixed the value reading bug in devScalerEL737 (wrong function signature)

Nihkil added mor error codes to devScalerEL737
This commit is contained in:
2017-08-21 14:40:43 +02:00
parent 124aa97cd6
commit 83a995a16d

View File

@ -339,6 +339,12 @@ static asynStatus el737_transactCommand(EL737priv *priv,char command[COMLEN],cha
strncpy(message,"Parameter missing",sizeof(message));
} else if(strstr(reply,"?6") != NULL){
strncpy(message,"to many counts",sizeof(message));
} else if(strstr(reply,"?91") != NULL){
strncpy(message,"Start Failure",sizeof(message));
} else if(strstr(reply,"?92") != NULL){
strncpy(message,"Failure while counting",sizeof(message));
} else if(strstr(reply,"?93") != NULL){
strncpy(message,"Read Failure",sizeof(message));
} else {
if(strstr(reply,"?") != NULL) {
snprintf(message,sizeof(message),"HW error: %s", reply);