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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user