Skip to content

Commit

Permalink
Vector class and frame class can be different
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Jun 28, 2024
1 parent 8553bcf commit 18c840f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion das2/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ static void _serial_onOpenVar(
strncpy(sIndex, psAttr[i+1], 31);
else if(strcmp(psAttr[i], "units") == 0)
pCtx->varUnits = Units_fromStr(psAttr[i+1]);
else if(strcmp(psAttr[i], "vecClass")){
else if(strcmp(psAttr[i], "vecClass") == 0){
strncpy(pCtx->varFrameType, psAttr[i+1], DASFRM_TYPE_SZ-1);
pCtx->varFrameType[DASFRM_TYPE_SZ-1] = '\0';
}
Expand Down

0 comments on commit 18c840f

Please sign in to comment.