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
+1 -1
View File
@@ -479,7 +479,7 @@ uint32_t readTrims()
{
uint32_t result = 0;
for (int i = 0; i < MAX_TRIMS; i++) {
for (int i = 0; i < MAX_TRIMS * 2; i++) {
if (trimsStates[i]) {
// TRACE("trim pressed %d", i);
result |= 1 << i;