fix have bit packing
This commit is contained in:
parent
3fd6183c21
commit
613b183592
@ -602,9 +602,9 @@ bool NGCEXTEventProvider::send_ft1_have(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// rest is chunks
|
// rest is chunks
|
||||||
for (size_t i = 0; i < chunks_size; i++) {
|
for (size_t c_i = 0; c_i < chunks_size; c_i++) {
|
||||||
for (size_t i = 0; i < sizeof(chunks_data[i]); i++) {
|
for (size_t i = 0; i < sizeof(chunks_data[c_i]); i++) {
|
||||||
pkg.push_back((chunks_data[i]>>(i*8)) & 0xff);
|
pkg.push_back((chunks_data[c_i]>>(i*8)) & 0xff);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user