diff --git a/lib/src/phy/modem/hard_demod_lte.c b/lib/src/phy/modem/hard_demod_lte.c index 9edec8b4f..f62bd1400 100644 --- a/lib/src/phy/modem/hard_demod_lte.c +++ b/lib/src/phy/modem/hard_demod_lte.c @@ -200,10 +200,7 @@ inline void hard_qam64_demod(const cf_t* in, uint8_t* out, uint32_t N) inline void hard_qam256_demod(const cf_t* in, uint8_t* out, uint32_t N) { - uint32_t s; - - for (s = 0; s < N; s++) { - + for (uint32_t s = 0; s < N; s++) { if (__real__ in[s] > 0) { out[8 * s] = 0x0; } else {