mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-13 23:13:49 -04:00
Fix missing bit from vessel type.
This commit is contained in:
@@ -628,7 +628,7 @@ AISExtendedClassBPositionReport::AISExtendedClassBPositionReport(QByteArray ba)
|
||||
|
||||
m_name = AISMessage::getString(ba, 17, 1, 20);
|
||||
|
||||
m_type = ((ba[32] & 1) << 7) | ((ba[33] >> 1) & 0x3f);
|
||||
m_type = ((ba[32] & 1) << 7) | ((ba[33] >> 1) & 0x7f);
|
||||
}
|
||||
|
||||
QString AISExtendedClassBPositionReport::toString()
|
||||
|
||||
Reference in New Issue
Block a user