mirror of
http://git.chmurka.net/owx
synced 2026-08-18 03:01:01 +00:00
Added support for ranges (limits) on UV6D
This commit is contained in:
@ -40,11 +40,14 @@ unsigned CModel::GetChannelsCount() const
|
||||
|
||||
bool CModel::AreRangesSupported() const
|
||||
{
|
||||
return m_model != MODEL_UV6D;
|
||||
return true;
|
||||
}
|
||||
|
||||
unsigned CModel::GetRangesOffset() const
|
||||
{
|
||||
if(m_model == MODEL_UV6D)
|
||||
return 0xf80;
|
||||
|
||||
return m_model == MODEL_UVA1 ? 0x300 : 0x900;
|
||||
}
|
||||
|
||||
@ -112,7 +115,7 @@ unsigned CModel::GetRows() const
|
||||
return 146;
|
||||
|
||||
if (m_model == MODEL_UV6D)
|
||||
return 129; /* Only header and channels */
|
||||
return 129+5; /* Header, channels, space, ranges */
|
||||
|
||||
return 144;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user