Openvario / variod

Daemon for autonomous e-vario
4 stars 8 forks source link

Fix Bug Referenced in Issue #39 #40

Closed hpmax closed 3 years ago

hpmax commented 3 years ago

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.