Skip to content

Commit

Permalink
Merge pull request #206 from nunojpg/fix_type_mistake
Browse files Browse the repository at this point in the history
fix type mistake
  • Loading branch information
mutability committed Oct 12, 2022
2 parents 0dede58 + 733a2d0 commit 4e7b024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adaptive.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ static void adaptive_end_of_block()
Modes.stats_current.adaptive_valid = true;
Modes.stats_current.adaptive_range_gain_limit = adaptive_range_gain_limit;

unsigned current = sdrGetGain();
int current = sdrGetGain();
if (current >= 0)
++Modes.stats_current.adaptive_gain_seconds[current < STATS_GAIN_COUNT ? current : STATS_GAIN_COUNT-1];
}
Expand Down

0 comments on commit 4e7b024

Please sign in to comment.