After reading in data from the config file I was supposed to do some pre-calculations on it. I had to do the same calculations on the STF and the Vario values, and did it as:
for (i=0;i<1;++i) ...
should have been: for (i=0;i<2;++i).
Also noticed a minor mistake in audiovario.c in which I was executing some code twice unnecessarily.
After reading in data from the config file I was supposed to do some pre-calculations on it. I had to do the same calculations on the STF and the Vario values, and did it as:
for (i=0;i<1;++i) ... should have been: for (i=0;i<2;++i).
Also noticed a minor mistake in audiovario.c in which I was executing some code twice unnecessarily.