mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-28 16:47:22 -04:00
Fix for warning: comparison of integer expressions of different signedness
This commit is contained in:
parent
d617618dcd
commit
90d38af705
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ void ADSBRXProcessor::execute(const buffer_c8_t& buffer) {
|
|||
// the high levels as signals can be out of phase so part of the
|
||||
// energy can be in the near samples
|
||||
int32_t thisAmp = (shifter[1] + shifter[3] + shifter[8] + shifter[10]);
|
||||
int32_t high = thisAmp / 9;
|
||||
uint32_t high = thisAmp / 9;
|
||||
if (
|
||||
shifter[5] < high &&
|
||||
shifter[6] < high &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue