projecthorus / radiosonde_auto_rx

Automatically Track Radiosonde Launches using RTLSDR
GNU General Public License v3.0
490 stars 124 forks source link

fix error: type defaults to ‘int’ #878

Closed pinkavaj closed 4 months ago

pinkavaj commented 4 months ago

This code used STD C99 feature, I kind of expect only modern enough compilers are used for this project.

darksidelemm commented 4 months ago

Just checking with @rs1729 that this change will be OK?

rs1729 commented 4 months ago

lms6mod.c is deprecated, only there for historical reasons. It was integrated in lms6Xmod.c with static int vitCodes_init = 0; (no missing int). lms6Xmod can decode another variant of LMS-6, don't know if it was only a test version though.

Regarding bool, sorry, no, never used bool, don't see the advantage here. And I would have to go through all the other decoders. I don't want to use "true", for me 0==false, so it is either 0 or not 0. It is possible that I'm using degrees of "true" somewhere.

I guess lms6mod.c can be removed in auto_rx.