mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 23:45:49 +08:00
Remove compiler warning
This commit is contained in:
@@ -686,7 +686,7 @@ unsigned int CAMBEFEC::regenerateYSF3(unsigned char* bytes) const
|
|||||||
|
|
||||||
// c3
|
// c3
|
||||||
g1 = 0U;
|
g1 = 0U;
|
||||||
for (int i = 0U; i < 23U; i++)
|
for (int i = 0; i < 23; i++)
|
||||||
g1 = (g1 << 1) | (bit[i] ? 0x01U : 0x00U);
|
g1 = (g1 << 1) | (bit[i] ? 0x01U : 0x00U);
|
||||||
unsigned int c3data = CGolay24128::decode23127(g1);
|
unsigned int c3data = CGolay24128::decode23127(g1);
|
||||||
g2 = CGolay24128::encode23127(c3data);
|
g2 = CGolay24128::encode23127(c3data);
|
||||||
|
|||||||
Reference in New Issue
Block a user