Skip to content

Commit

Permalink
main.cpp: fix comments of if_samples
Browse files Browse the repository at this point in the history
  • Loading branch information
jj1bdx committed Dec 14, 2023
1 parent e4f5a0e commit ff8e73f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -976,6 +976,9 @@ int main(int argc, char **argv) {
continue;
}

// Valid data exists in if_samples
// from here in the for loop

if (modtype == ModType::FM) {
// the minus factor is to show the ppm correction
// to make and not the one which has already been made
Expand All @@ -987,10 +990,7 @@ int main(int argc, char **argv) {
// Add 1e-9 to log10() to prevent generating NaN
float if_level_db = 20 * log10(if_level + 1e-9);

// Valid data exists in if_samples
// from here in the for loop

// Decode signal.
// Decode signal from if_samples.
switch (modtype) {
case ModType::FM:
// Decode FM signal.
Expand Down

0 comments on commit ff8e73f

Please sign in to comment.