fix(cpn): Radio settings yaml for adc refactor (#3862)

* Remove commented lines

* Restrict calibration to sticks, pots and sliders

* Fix pots and sliders config to support pre and post adc refactor

* fix: pfeerick sucks at rebases

* chore: Add more bits missed during rebase

* chore(cpn): use adc version constant

* fix(cpn): calibration encode mapping

---------

Co-authored-by: elecpower <neilh713@tpg.com.au>
This commit is contained in:
Peter Feerick
2023-08-16 10:11:31 +10:00
committed by GitHub
co-authored by elecpower
parent 1177891750
commit 50bbea48bd
15 changed files with 421 additions and 136 deletions
+14
View File
@@ -884,6 +884,20 @@ QString SemanticVersion::toString() const
return ret;
}
bool SemanticVersion::isEmpty(const QString vers)
{
fromString(vers);
return isEmpty();
}
bool SemanticVersion::isEmpty()
{
if (toInt() == SemanticVersion().toInt() )
return true;
else
return false;
}
int SemanticVersion::compare(const SemanticVersion& other)
{
if (version.major != other.version.major) {