aboutsummaryrefslogtreecommitdiff
path: root/libarmep/configuration.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarmep/configuration.c')
-rwxr-xr-xlibarmep/configuration.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libarmep/configuration.c b/libarmep/configuration.c
index 2db43a4..7822f4f 100755
--- a/libarmep/configuration.c
+++ b/libarmep/configuration.c
@@ -56,7 +56,7 @@ static void process_token(struct aep_channel *ch, char *marshall, enum fields fi
fprintf(stderr, "**** channel cannot have 0R shunt\n");
break;
case AEPC_FIELD_INTERCHANNEL_ERROR_ESTIMATE:
- ch->percentage_error_ref = atof(marshall);
+ ch->channel_num = atoi(marshall);
break;
case AEPC_FIELD_ZERO_OFFSET_V1:
ch->voffset[0] = atof(marshall);
@@ -283,10 +283,10 @@ int configure(struct aep_context *aep_context, struct aep *aep, const char *dev_
index++;
if (ch == wch) {
sprintf(linebuf,
- " %s\t%f\t%f\t%f\t%f\t%f\t%f\t%d\t%s\t%s\t%s\t%s\n",
+ " %s\t%f\t%d\t%f\t%f\t%f\t%f\t%d\t%s\t%s\t%s\t%s\n",
ch->channel_name,
ch->rshunt,
- ch->percentage_error_ref,
+ ch->channel_num,
ch->voffset[0],
ch->vnoise[0],
ch->voffset[1],