Commit d8194a8c authored by Timothee Habra's avatar Timothee Habra

correct point id

Conflicts:
	StandaloneC/src/project/user_files/user_all_id.h
parent f6d9bb7c
......@@ -385,7 +385,7 @@ void print_c_user_all_id(MDS_gen_strct* gen, char *fileoutH)
fprintf(fidH,"\n");
for(i=0; i< gen->n_sensor; i++)
{
fprintf(fidH,"#define %s_id %d\n", gen->point_list[gen->sensor_point_list[i]]->sensor->name, i);
fprintf(fidH,"#define %s_id %d\n", gen->point_list[gen->sensor_point_list[i]]->sensor->name, i+1);
}
fprintf(fidH,"\n\n");
......@@ -393,7 +393,7 @@ void print_c_user_all_id(MDS_gen_strct* gen, char *fileoutH)
fprintf(fidH,"\n");
for(i=0; i< gen->n_extforce; i++)
{
fprintf(fidH,"#define %s_id %d\n", gen->point_list[gen->extforce_point_list[i]]->extforce->name, i);
fprintf(fidH,"#define %s_id %d\n", gen->point_list[gen->extforce_point_list[i]]->extforce->name, i+1);
}
fprintf(fidH,"\n\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment