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:
co-authored by
elecpower
parent
1177891750
commit
50bbea48bd
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user