From 18c840f351a476ed21cd1cb347ad8b1690396fb0 Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 28 Jun 2024 18:06:09 -0500 Subject: [PATCH] Vector class and frame class can be different --- das2/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/das2/serial.c b/das2/serial.c index 502f6c3..66a2e96 100644 --- a/das2/serial.c +++ b/das2/serial.c @@ -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'; }