diff --git a/src/model.cc b/src/model.cc index 88272ea..83ace1b 100644 --- a/src/model.cc +++ b/src/model.cc @@ -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; }