Robin Getz
6fa5812a69
ft8/ft8 : Initialize uninitialized constructor members
...
Initialize pass_, hack_0_, and hack_1_ in the FT8 constructor
initializer list.
cppcheck identified these members as potentially uninitialized.
Initializing them makes the constructor state explicit and reduces
the risk of undefined behavior if they are read before being assigned.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
2 months ago
Robin Getz
f09b4b1d00
ft4/ft8: Prevent negative container indexing
...
Shift the sentinel value from the index (-1) to the best score
(positive infinity). This ensures the index is always a valid
container index, so there is no possibility of later accessing data
using an index of -1.
Reported by cppcheck.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
3 months ago
Robin Getz
9b3e3e1865
FT8/FT4: Remove uninitialized value warnings
...
Fix cppcheck warnings about uninitialized mx variables in coarse
strength and soft symbol conversion calculations.
Replace the mxi sentinel logic with an explicit -infinity initial
maximum value, allowing the maximum search to operate directly on the
value being tracked. This removes reliance on short-circuit evaluation
for initialization and simplifies the code.
Signed-off-by: Robin Getz <rgetz503@gmail.com>
4 months ago
f4exb
e98b4bdeb1
FT8 demod: more code linting
8 months ago
f4exb
d0ad1ae413
FT8 demod: Sonar fixes (2)
8 months ago
f4exb
b09e8df343
FT8 demod: Sonar fixes
8 months ago
f4exb
7da837f854
FT8 demod: fix duplicated code (2)
8 months ago
f4exb
81f7d2ff99
FT8 demod: fix duplicated code (1)
8 months ago
f4exb
fbfa04a06d
FT4 demod: copy original FT8 worker to FT4. Isolate AI generated classes
9 months ago
f4exb
05b9b499b1
FT8: fixed CRC build
10 months ago
f4exb
0a9a2ba136
More Sonar fixes (3)
2 years ago
f4exb
3799746ac0
More Sonar fixes (2)
2 years ago
f4exb
189d5a6a01
More Sonar fixes
2 years ago
f4exb
28262ca5fb
More Sonar bug fixes
2 years ago
Daniele Forsi
4241f01376
Fix typos in cpp files
2 years ago
f4exb
cd7f0c16c4
FT8: implement Gray decoding when decoding from magnitudes
3 years ago
f4exb
3c9f74aeb5
ChirpChat demod: implemented FT decoding
3 years ago
f4exb
ba075bcf66
FT8: zero and one symbol indexes matrices optoimization
3 years ago
f4exb
8e77ad01ad
FT8: added soft decode on magnitudes and genaralize to any number of bits per symbol
3 years ago
f4exb
2e9fc9db64
FT8: add encoding support to library and added more tests
3 years ago
f4exb
b120f9cb01
Rewriting of copyright notices for all but plugins (done), sdrbase, sdrgui. Part of #1893
3 years ago
f4exb
2385cdde7c
FT8 support: corrected possible code glitch
4 years ago
f4exb
33156b9f66
FT8 support: code reformatting
4 years ago
f4exb
a86cc53945
FT8 demod: make OSD optional and log OSD information
4 years ago
f4exb
aaa244974b
FT8 support: fixed FFT moving plans in a simgleton with global mutex
4 years ago
f4exb
e23db7e65c
FT8 support: removed stats stuff that are never used
4 years ago
f4exb
4067aecd33
FT8 support: remove or comment out asserts
4 years ago
f4exb
09d18ce9a3
FT8 demod: band presets
4 years ago
f4exb
2b5078e000
FT8 demod: make FT8::FFTEngine a singleton. Name worker threads for debugging
4 years ago
f4exb
6ecd110d14
FT8 demod: adapted to QThread
4 years ago
f4exb
aaab8b5351
FT8 demod: removed string.h dependency
4 years ago
f4exb
ea49a8813b
FT8 denod: removed thread dependency in FT8 class
4 years ago
f4exb
60debc5d83
: FT8 demod: implement Qt dependency and export for MSVC
4 years ago
f4exb
38fbcc65b7
: FT8 demod: implement Qt dependency and export for MSVC
4 years ago
f4exb
22acbebab6
FT8 demod: make FFT engine
4 years ago
f4exb
7ec86b09de
FT8 demod: reorganized code (1)
4 years ago
f4exb
7cd08ef1e9
FT8 demod: implement callback as an interface class. Added test .wav file and file option in the sdrbench options
4 years ago
f4exb
23e01ea064
FT8 demod: isolate call1, all2 and locator in callback
4 years ago
f4exb
6594bf209e
FT8 demod: restore double precision for time variables
4 years ago
f4exb
902e58b46b
FT8 demod: initial commit of FT8 library with minimal changes and benchmark test
4 years ago