mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-16 18:47:33 -05:00
Fix incorrect array assignment (frame_3 → frame_2) (#2159)
This commit is contained in:
@@ -74,7 +74,7 @@ public abstract class VoiceMessage extends DMRBurst
|
|||||||
frame_2[i] = getMessage().getByte(96 + i * 8);
|
frame_2[i] = getMessage().getByte(96 + i * 8);
|
||||||
}
|
}
|
||||||
// 4 bits and 4 bits
|
// 4 bits and 4 bits
|
||||||
frame_3[4] = (byte)((getMessage().getByte(128) & 0xF0) | (getMessage().getByte(180) >> 4));
|
frame_2[4] = (byte)((getMessage().getByte(128) & 0xF0) | (getMessage().getByte(180) >> 4));
|
||||||
// copy last 4 byte
|
// copy last 4 byte
|
||||||
for(int i = 0; i < 4; i++)
|
for(int i = 0; i < 4; i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user