fix(cpn): Pot and slider post ADC refactor fixes (#3731)

* Semantic version housekeeping

* Fix pots and sliders center beep and warnings yaml for adc refactor

* Fix sliders and pots mapping

* Fix 6POS libsimu

* Fix trims

* Updated 6POS calculation thanks to philmoz

* Fix version adc implemented

---------

Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
This commit is contained in:
Neil Horne
2023-07-27 14:23:15 +10:00
committed by GitHub
co-authored by 3djc
parent 7cd9577528
commit 2f253d9139
4 changed files with 162 additions and 21 deletions
+4 -2
View File
@@ -814,9 +814,11 @@ SemanticVersion& SemanticVersion::operator=(const SemanticVersion& rhs)
bool SemanticVersion::isValid(const QString vers)
{
QString v(vers);
QString v(vers.trimmed());
if (v.isEmpty())
return false;
v = v.trimmed();
if (v.toLower().startsWith("v"))
v = v.mid(1);